Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00152/0.00152, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.88 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.08604, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007487/0.09356, allocations: 7.079 MB / 366 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00523/0.09882, allocations: 3.173 MB / 369.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007436/0.09959, allocations: 35.88 kB / 369.2 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.1012, allocations: 0.7859 MB / 370 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.1039, allocations: 1.296 MB / 371.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009859/0.1049, allocations: 0.4912 MB / 371.8 MB, free: 444 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1513/0.2563, allocations: 2.547 MB / 374.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.2578, allocations: 1.157 MB / 375.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009059/0.2587, allocations: 0.7551 MB / 376.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.2599, allocations: 1.094 MB / 377.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.2601, allocations: 139.1 kB / 377.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.2615, allocations: 0.8621 MB / 378.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008242/0.2623, allocations: 0.9827 MB / 379.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.2636, allocations: 1.178 MB / 380.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.2675, allocations: 3.918 MB / 384.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2675, allocations: 0 / 384.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2675, allocations: 1.312 kB / 384.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.76e-05/0.2676, allocations: 0 / 384.4 MB, free: 8.141 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004328/0.2719, allocations: 2.868 MB / 387.3 MB, free: 6.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2719, allocations: 14.44 kB / 387.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.2774, allocations: 1.634 MB / 388.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.2803, allocations: 1.301 MB / 390.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/0.2805, allocations: 116 kB / 390.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.2808, allocations: 161.2 kB / 390.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007461/0.2883, allocations: 6.366 MB / 396.8 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.654e-05/0.2883, allocations: 31.91 kB / 396.9 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.2885, allocations: 81.33 kB / 397 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.2905, allocations: 1.437 MB / 398.4 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00902/0.2996, allocations: 5.674 MB / 404.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.327, allocations: 26.18 MB / 430.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.3312, allocations: 2.271 MB / 432.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.3326, allocations: 1.018 MB / 433.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.3326, allocations: 14.64 kB / 433.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3327, allocations: 46.44 kB / 433.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 3.978e-06/0.3327, allocations: 0 / 433.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02029/0.353, allocations: 8.57 MB / 442.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.3531, allocations: 148.5 kB / 442.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/0.3569, allocations: 2.815 MB / 445.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.3571, allocations: 41.7 kB / 445.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.3583, allocations: 2.066 MB / 447.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.3587, allocations: 439.9 kB / 447.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.3598, allocations: 0.8808 MB / 448.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.3599, allocations: 305.1 kB / 448.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.362, allocations: 1.414 MB / 450.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004132/0.3662, allocations: 4.239 MB / 454.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/0.3732, allocations: 6.141 MB / 460.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.368e-05/0.3733, allocations: 36.12 kB / 460.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01086/0.3842, allocations: 6.111 MB / 466.8 MB, free: 8.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.3843, allocations: 48 kB / 466.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.3844, allocations: 104 kB / 466.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.3867, allocations: 0.7964 MB / 467.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/0.3899, allocations: 0.9864 MB / 468.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.3958, allocations: 4.475 MB / 473.2 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/0.3991, allocations: 243.5 kB / 473.4 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005814/0.3997, allocations: 279.3 kB / 473.7 MB, free: 1.922 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * 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.002157/0.4019, allocations: 1.379 MB / 475.1 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.4023, allocations: 229 kB / 475.3 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/0.4063, allocations: 1.849 MB / 477.2 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/0.4063, allocations: 16 kB / 477.2 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.4064, allocations: 4 kB / 477.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.4064, allocations: 11.92 kB / 477.2 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009702/0.4161, allocations: 4.788 MB / 482 MB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4161, allocations: 4 kB / 482 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.4167, allocations: 131.8 kB / 482.1 MB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/0.4189, allocations: 0.6522 MB / 482.8 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.419, allocations: 16 kB / 482.8 MB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005153/0.4241, allocations: 3.96 MB / 486.7 MB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4242, allocations: 0 / 486.7 MB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/0.43, allocations: 3.691 MB / 490.4 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/0.4306, allocations: 286 kB / 490.7 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.4308, allocations: 16 kB / 490.7 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.4316, allocations: 59.91 kB / 490.8 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.4318, allocations: 63.8 kB / 490.8 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/0.4319, allocations: 30.41 kB / 490.9 MB, free: 496 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00249/0.4344, allocations: 1.753 MB / 492.6 MB, free: 14.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4344, allocations: 0 / 492.6 MB, free: 14.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002989/0.4374, allocations: 0.6328 MB / 493.3 MB, free: 14.09 MB / 414.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 (75): * Single equations (assignments): 71 * 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.0003082/0.4377, allocations: 149.7 kB / 493.4 MB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004958/0.4427, allocations: 3.409 MB / 496.8 MB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.4427, allocations: 0 / 496.8 MB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.444, allocations: 0.9393 MB / 497.7 MB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.4457, allocations: 263 kB / 498 MB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008639/0.4543, allocations: 5.416 MB / 0.4916 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.4564, allocations: 2.18 MB / 0.4938 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002737/0.4591, allocations: 1.399 MB / 0.4951 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.4595, allocations: 163.4 kB / 0.4953 GB, free: 100 kB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4595, allocations: 0 / 0.4953 GB, free: 100 kB / 414.1 MB Notification: Performance of Templates: time 0.0374/0.4969, allocations: 19.16 MB / 0.514 GB, free: 13.11 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches