Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 118.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 202 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2996, allocations: 50.55 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009387/0.309, allocations: 7.584 MB / 416.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.3152, allocations: 3.356 MB / 420.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.316, allocations: 35.94 kB / 420.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.3179, allocations: 1.027 MB / 421.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.3207, allocations: 1.338 MB / 422.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3218, allocations: 0.5379 MB / 423.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002895/0.3247, allocations: 2.625 MB / 425.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.3262, allocations: 1.37 MB / 427.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.3274, allocations: 0.8329 MB / 428 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.3287, allocations: 1.141 MB / 429.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.3289, allocations: 148 kB / 429.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.3305, allocations: 0.9008 MB / 430.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000938/0.3314, allocations: 1.052 MB / 431.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.3325, allocations: 1.234 MB / 432.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.3366, allocations: 4.076 MB / 436.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3367, allocations: 0 / 436.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3367, allocations: 4 kB / 436.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.825e-05/0.3367, allocations: 0 / 436.5 MB, free: 6.211 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.005053/0.3418, allocations: 2.988 MB / 439.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3419, allocations: 8.031 kB / 439.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/0.3467, allocations: 1.573 MB / 441.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.349, allocations: 1.374 MB / 442.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.3491, allocations: 123 kB / 442.6 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.3494, allocations: 163.8 kB / 442.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008357/0.3578, allocations: 6.534 MB / 449.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.06e-05/0.3579, allocations: 31.66 kB / 449.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.3581, allocations: 87.88 kB / 449.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002219/0.3603, allocations: 1.468 MB / 450.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009313/0.3696, allocations: 5.834 MB / 456.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02644/0.3961, allocations: 25.65 MB / 482.3 MB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/0.4013, allocations: 2.541 MB / 484.9 MB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.4028, allocations: 1.215 MB / 486.1 MB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007305/0.4101, allocations: 4.811 MB / 490.9 MB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4101, allocations: 50.5 kB / 491 MB, free: 14.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.975e-06/0.4101, allocations: 0 / 491 MB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02181/0.432, allocations: 9.776 MB / 0.489 GB, free: 4.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.4321, allocations: 145 kB / 0.4891 GB, free: 4.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.4352, allocations: 2.702 MB / 0.4918 GB, free: 1.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/0.4353, allocations: 37.7 kB / 0.4918 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.4365, allocations: 2.045 MB / 0.4938 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.4369, allocations: 434.6 kB / 0.4942 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009318/0.4378, allocations: 0.8293 MB / 0.495 GB, free: 13.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.4379, allocations: 309.1 kB / 0.4953 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.4398, allocations: 1.449 MB / 0.4967 GB, free: 12.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/0.4433, allocations: 4.069 MB / 0.5007 GB, free: 6.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/0.4491, allocations: 5.962 MB / 0.5065 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-05/0.4492, allocations: 31.98 kB / 0.5066 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009459/0.4587, allocations: 6.024 MB / 0.5125 GB, free: 9.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.4587, allocations: 48 kB / 0.5125 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.336e-05/0.4588, allocations: 95.94 kB / 0.5126 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/0.461, allocations: 0.8279 MB / 0.5134 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.4634, allocations: 0.9474 MB / 0.5143 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.4691, allocations: 4.652 MB / 0.5189 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.4717, allocations: 243.6 kB / 0.5191 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003022/0.472, allocations: 260 kB / 0.5193 GB, free: 2.227 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (502): * Single equations (assignments): 498 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001706/0.4737, allocations: 1.38 MB / 0.5207 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.474, allocations: 225 kB / 0.5209 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.4779, allocations: 2.126 MB / 0.523 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.4779, allocations: 15.91 kB / 0.523 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4779, allocations: 8 kB / 0.523 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.478, allocations: 7.984 kB / 0.523 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008119/0.4861, allocations: 5.065 MB / 0.528 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4861, allocations: 0 / 0.528 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/0.4868, allocations: 155.8 kB / 0.5281 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.4888, allocations: 0.6835 MB / 0.5288 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/0.4889, allocations: 20 kB / 0.5288 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004912/0.4938, allocations: 4.145 MB / 0.5328 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4938, allocations: 7.969 kB / 0.5329 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00589/0.4997, allocations: 4.051 MB / 0.5368 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2456/0.7453, allocations: 277.7 kB / 0.5371 GB, free: 124.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.7458, allocations: 14.3 kB / 0.5371 GB, free: 124.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.7469, allocations: 73.83 kB / 0.5372 GB, free: 124.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.7472, allocations: 58.25 kB / 0.5372 GB, free: 124.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.7473, allocations: 32.58 kB / 0.5372 GB, free: 124.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003312/0.7507, allocations: 1.688 MB / 0.5389 GB, free: 124.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7507, allocations: 0 / 0.5389 GB, free: 124.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003336/0.754, allocations: 0.6655 MB / 0.5395 GB, free: 124.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004524/0.7545, allocations: 204.9 kB / 0.5397 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004622/0.7591, allocations: 3.497 MB / 0.5432 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.7591, allocations: 0 / 0.5432 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.7602, allocations: 1.042 MB / 0.5442 GB, free: 123.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.7616, allocations: 252.2 kB / 0.5444 GB, free: 123.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/0.7681, allocations: 5.599 MB / 0.5499 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.7696, allocations: 2.237 MB / 0.5521 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002143/0.7718, allocations: 1.324 MB / 0.5534 GB, free: 118.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.7721, allocations: 159.1 kB / 0.5535 GB, free: 118.4 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7721, allocations: 0 / 0.5535 GB, free: 118.4 MB / 462.1 MB Notification: Performance of Templates: time 0.03294/0.8051, allocations: 21.74 MB / 0.5747 GB, free: 97.74 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches