Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001277, allocations: 107.3 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 56.39 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07168/0.0729, allocations: 46.62 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1569/0.2298, allocations: 12.32 MB / 388.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008048/0.2379, allocations: 4.433 MB / 392.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.2399, allocations: 87.31 kB / 392.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004945/0.2449, allocations: 2.899 MB / 395.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004733/0.2496, allocations: 2.035 MB / 397.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.2518, allocations: 1.043 MB / 398.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006853/0.2587, allocations: 5.334 MB / 404 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/0.2638, allocations: 4.056 MB / 408 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.2668, allocations: 1.768 MB / 409.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.2705, allocations: 2.387 MB / 412.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.2715, allocations: 385.8 kB / 412.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.2744, allocations: 1.255 MB / 413.8 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00254/0.2769, allocations: 2.194 MB / 416 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004563/0.2815, allocations: 2.474 MB / 418.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.2939, allocations: 7.997 MB / 426.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.294, allocations: 0 / 426.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.294, allocations: 0 / 426.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001948/0.2942, allocations: 0 / 426.5 MB, free: 12.82 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01893/0.3131, allocations: 5.381 MB / 431.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.3132, allocations: 16.03 kB / 431.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05093/0.3642, allocations: 3.189 MB / 435.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/0.3782, allocations: 3.735 MB / 438.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.3785, allocations: 254.2 kB / 439.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/0.38, allocations: 339.7 kB / 439.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/0.3977, allocations: 10.34 MB / 449.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.3979, allocations: 51.59 kB / 449.8 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006932/0.3986, allocations: 155.8 kB / 449.9 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003483/0.4021, allocations: 2.041 MB / 452 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.4182, allocations: 8.896 MB / 460.9 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04353/0.4618, allocations: 39.62 MB / 0.4888 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008351/0.4701, allocations: 4.052 MB / 0.4927 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/0.4727, allocations: 2.237 MB / 0.4949 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/0.4733, allocations: 0.6594 MB / 0.4955 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4734, allocations: 47.56 kB / 0.4956 GB, free: 9.562 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 3.987e-06/0.4734, allocations: 0 / 0.4956 GB, free: 9.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.05898/0.5324, allocations: 22.96 MB / 0.518 GB, free: 2.453 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.5325, allocations: 252.6 kB / 0.5183 GB, free: 2.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.5378, allocations: 4.267 MB / 0.5224 GB, free: 13.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.5381, allocations: 57.89 kB / 0.5225 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.54, allocations: 3.194 MB / 0.5256 GB, free: 10.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/0.5407, allocations: 0.806 MB / 0.5264 GB, free: 9.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001559/0.5423, allocations: 1.289 MB / 0.5276 GB, free: 8.449 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.5424, allocations: 301.1 kB / 0.5279 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/0.5458, allocations: 2.558 MB / 0.5304 GB, free: 5.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005522/0.5514, allocations: 6.123 MB / 0.5364 GB, free: 13.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/0.5611, allocations: 9.287 MB / 0.5455 GB, free: 2.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.187e-05/0.5612, allocations: 36 kB / 0.5455 GB, free: 2.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.1772/0.7384, allocations: 10.76 MB / 0.556 GB, free: 143 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.137e-05/0.7385, allocations: 58.41 kB / 0.5561 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.7386, allocations: 123.7 kB / 0.5562 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007202/0.7459, allocations: 2.611 MB / 0.5587 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.75, allocations: 1.352 MB / 0.5601 GB, free: 142.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/0.7708, allocations: 18.59 MB / 0.5782 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004303/0.7752, allocations: 375.9 kB / 0.5786 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004322/0.7756, allocations: 369.2 kB / 0.5789 GB, free: 132.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002423/0.778, allocations: 2.234 MB / 0.5811 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.7785, allocations: 379.3 kB / 0.5815 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.7869, allocations: 5.149 MB / 0.5865 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.7869, allocations: 11.84 kB / 0.5865 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.7869, allocations: 0 / 0.5865 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.788, allocations: 0.774 MB / 0.5873 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/0.7885, allocations: 35.06 kB / 0.5873 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.7901, allocations: 145.5 kB / 0.5874 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.7904, allocations: 156.7 kB / 0.5876 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008922/0.7993, allocations: 5.533 MB / 0.593 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006285/0.8056, allocations: 6.602 MB / 0.5994 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001688/0.8073, allocations: 1.765 MB / 0.6012 GB, free: 117.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002788/0.8101, allocations: 2.692 MB / 0.6038 GB, free: 114.4 MB / 478.1 MB Notification: Performance of Backend: time 3.81e-07/0.8102, allocations: 0 / 0.6038 GB, free: 114.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007988/0.8181, allocations: 5.314 MB / 0.609 GB, free: 109.1 MB / 478.1 MB Notification: Performance of SimCode: time 0.01239/0.8306, allocations: 10.26 MB / 0.619 GB, free: 98.81 MB / 478.1 MB Notification: Performance of Templates: time 0.07511/0.9057, allocations: 58.07 MB / 0.6757 GB, free: 40.8 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches