Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001528/0.001528, allocations: 113.9 kB / 17.75 MB, free: 5.184 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.001737/0.001737, allocations: 185.2 kB / 18.68 MB, free: 4.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000969/0.000969, allocations: 47.94 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2113, allocations: 49.44 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01232/0.2236, allocations: 11.9 MB / 413.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007936/0.2316, allocations: 4.347 MB / 417.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.2328, allocations: 79.75 kB / 417.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004845/0.2377, allocations: 2.889 MB / 420.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.2414, allocations: 2.031 MB / 422.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.2433, allocations: 1.041 MB / 423.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006182/0.2495, allocations: 5.557 MB / 429.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003677/0.2532, allocations: 3.988 MB / 433.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.255, allocations: 1.733 MB / 435 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.2574, allocations: 2.305 MB / 437.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.258, allocations: 368 kB / 437.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.2599, allocations: 1.256 MB / 438.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001644/0.2616, allocations: 2.143 MB / 441.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.2635, allocations: 2.389 MB / 443.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006651/0.2701, allocations: 7.763 MB / 451.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2702, allocations: 3.938 kB / 451.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2702, allocations: 0 / 451.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.672e-05/0.2702, allocations: 0 / 451.2 MB, free: 6.844 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.008194/0.2784, allocations: 5.38 MB / 456.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2785, allocations: 8.031 kB / 456.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02439/0.3029, allocations: 3.204 MB / 459.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007401/0.3103, allocations: 3.615 MB / 463.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.3105, allocations: 238.2 kB / 463.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006379/0.3111, allocations: 327.8 kB / 464 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/0.3252, allocations: 10.03 MB / 474 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.3253, allocations: 51.58 kB / 474.1 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/0.3257, allocations: 151.9 kB / 474.2 MB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003078/0.3288, allocations: 1.963 MB / 476.2 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.3427, allocations: 8.582 MB / 484.7 MB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04127/0.384, allocations: 38.72 MB / 0.5112 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008055/0.3921, allocations: 3.951 MB / 0.5151 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002505/0.3946, allocations: 2.2 MB / 0.5172 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/0.3953, allocations: 0.6516 MB / 0.5178 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3953, allocations: 51.56 kB / 0.5179 GB, free: 5.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.027e-06/0.3953, allocations: 0 / 0.5179 GB, free: 5.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2305/0.6259, allocations: 22.82 MB / 0.5402 GB, free: 129.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.626, allocations: 259 kB / 0.5404 GB, free: 129.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004629/0.6306, allocations: 4.185 MB / 0.5445 GB, free: 128.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.6309, allocations: 56.8 kB / 0.5446 GB, free: 128.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.6321, allocations: 3.246 MB / 0.5477 GB, free: 126.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.6326, allocations: 0.8018 MB / 0.5485 GB, free: 126.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.6339, allocations: 1.26 MB / 0.5497 GB, free: 125.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.155e-05/0.634, allocations: 303.6 kB / 0.55 GB, free: 125.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.6367, allocations: 2.489 MB / 0.5525 GB, free: 124.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/0.6403, allocations: 5.974 MB / 0.5583 GB, free: 118.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/0.6471, allocations: 9.072 MB / 0.5672 GB, free: 111.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.965e-05/0.6472, allocations: 36 kB / 0.5672 GB, free: 111.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01472/0.6619, allocations: 10.56 MB / 0.5775 GB, free: 101 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.6619, allocations: 62.28 kB / 0.5776 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.326e-05/0.662, allocations: 120 kB / 0.5777 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006413/0.6684, allocations: 2.602 MB / 0.5802 GB, free: 98.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/0.6717, allocations: 1.306 MB / 0.5815 GB, free: 96.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/0.6905, allocations: 18.64 MB / 0.5997 GB, free: 77.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/0.6948, allocations: 369.6 kB / 0.6001 GB, free: 77.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004407/0.6952, allocations: 359.9 kB / 0.6004 GB, free: 77.22 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (709): * Single equations (assignments): 703 * 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 {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002366/0.6976, allocations: 2.172 MB / 0.6025 GB, free: 75.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/0.6981, allocations: 393.4 kB / 0.6029 GB, free: 74.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008047/0.7061, allocations: 5.03 MB / 0.6078 GB, free: 69.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.7061, allocations: 11.97 kB / 0.6078 GB, free: 69.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7062, allocations: 0 / 0.6078 GB, free: 69.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.7066, allocations: 446.3 kB / 0.6082 GB, free: 69.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/0.7071, allocations: 31.94 kB / 0.6083 GB, free: 69.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.7086, allocations: 139.8 kB / 0.6084 GB, free: 69.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/0.7089, allocations: 141.1 kB / 0.6085 GB, free: 68.88 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008433/0.7173, allocations: 5.418 MB / 0.6138 GB, free: 63.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006005/0.7234, allocations: 6.454 MB / 0.6201 GB, free: 57.03 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001578/0.725, allocations: 1.719 MB / 0.6218 GB, free: 55.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002719/0.7277, allocations: 2.627 MB / 0.6244 GB, free: 52.68 MB / 462.1 MB Notification: Performance of Backend: time 3.21e-07/0.7277, allocations: 3.938 kB / 0.6244 GB, free: 52.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007513/0.7352, allocations: 5.223 MB / 0.6295 GB, free: 47.44 MB / 462.1 MB Notification: Performance of SimCode: time 0.01092/0.7461, allocations: 10.14 MB / 0.6394 GB, free: 37.27 MB / 462.1 MB Notification: Performance of Templates: time 0.08241/0.8286, allocations: 59.01 MB / 0.697 GB, free: 10.56 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches