Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001728/0.002862, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.002891, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9269/0.9269, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08546/1.012, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.958e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.00865/0.008669, allocations: 11.28 MB / 256 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007328/0.016, allocations: 4.458 MB / 260.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.01765, allocations: 95.44 kB / 260.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.02076, allocations: 2.923 MB / 263.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.02451, allocations: 2.041 MB / 265.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.02612, allocations: 1.064 MB / 266.6 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005677/0.03179, allocations: 5.809 MB / 272.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1195/0.1513, allocations: 3.308 MB / 275.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005253/0.1565, allocations: 3.384 MB / 279.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003879/0.1604, allocations: 2.49 MB / 281.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.1616, allocations: 373 kB / 281.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.1639, allocations: 1.228 MB / 283.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.1658, allocations: 2.007 MB / 285.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.1675, allocations: 1.133 MB / 286.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004479/0.172, allocations: 4.626 MB / 290.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.172, allocations: 0.875 kB / 290.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.172, allocations: 0 / 290.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002297/0.1722, allocations: 0 / 290.9 MB, free: 2.195 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.007628/0.1799, allocations: 5.831 MB / 296.8 MB, free: 64 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1799, allocations: 6.562 kB / 296.8 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.1839, allocations: 1.332 MB / 298.1 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.1869, allocations: 2.315 MB / 300.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.187, allocations: 241.4 kB / 300.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/0.1874, allocations: 318.3 kB / 301 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005982/0.1934, allocations: 4.895 MB / 305.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.1936, allocations: 54.05 kB / 305.9 MB, free: 9.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/0.1938, allocations: 152.8 kB / 306.1 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001371/0.1952, allocations: 1.534 MB / 307.6 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/0.1993, allocations: 2.412 MB / 310 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.2237, allocations: 29.68 MB / 339.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.2266, allocations: 1.32 MB / 341 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.227, allocations: 320.2 kB / 341.3 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004852/0.2319, allocations: 3.417 MB / 344.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.2319, allocations: 54.72 kB / 344.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 4.208e-06/0.2319, allocations: 0 / 344.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.01392/0.2459, allocations: 5.895 MB / 350.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.2459, allocations: 153.5 kB / 350.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.2488, allocations: 3.331 MB / 354.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.2489, allocations: 45.7 kB / 354.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.2502, allocations: 3.065 MB / 357.3 MB, free: 7.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.2505, allocations: 0.5965 MB / 357.9 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008781/0.2514, allocations: 1.138 MB / 359 MB, free: 5.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.2515, allocations: 301.1 kB / 359.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.2525, allocations: 0.7227 MB / 360 MB, free: 4.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.2551, allocations: 4.356 MB / 364.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/0.2592, allocations: 5.937 MB / 370.3 MB, free: 7.586 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.922e-05/0.2593, allocations: 36 kB / 370.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.005104/0.2644, allocations: 4.233 MB / 374.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.2644, allocations: 60 kB / 374.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/0.2646, allocations: 136.7 kB / 374.8 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.2659, allocations: 0.6647 MB / 375.4 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.2681, allocations: 1.439 MB / 376.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.2725, allocations: 5.363 MB / 382.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.2752, allocations: 271.7 kB / 382.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/0.2755, allocations: 309.8 kB / 382.8 MB, free: 10.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.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 (723): * Single equations (assignments): 717 * 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 {(2,9,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001449/0.277, allocations: 0.6011 MB / 383.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.2775, allocations: 219.8 kB / 383.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.2787, allocations: 0.8537 MB / 384.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.2787, allocations: 12 kB / 384.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2787, allocations: 4 kB / 384.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.2787, allocations: 3.984 kB / 384.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.2838, allocations: 3.976 MB / 388.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.2838, allocations: 19.98 kB / 388.5 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.2843, allocations: 224.5 kB / 388.7 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/0.2849, allocations: 333.5 kB / 389 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007783/0.2856, allocations: 430.2 kB / 389.5 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.2857, allocations: 28 kB / 389.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.2872, allocations: 1.904 MB / 391.4 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.2872, allocations: 11.94 kB / 391.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.289, allocations: 1.781 MB / 393.2 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/0.2892, allocations: 32.05 kB / 393.2 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.2899, allocations: 43.95 kB / 393.3 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.2901, allocations: 104.2 kB / 393.4 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.2901, allocations: 43.98 kB / 393.4 MB, free: 284 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001144/0.2913, allocations: 1.24 MB / 394.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2913, allocations: 4 kB / 394.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003574/0.2948, allocations: 1.066 MB / 395.7 MB, free: 13.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (revolute1.w,damper.phi_rel,revolute2.phi,revolute2.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 (116): * Single equations (assignments): 112 * 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,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.0003341/0.2952, allocations: 170 kB / 395.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003232/0.2984, allocations: 2.852 MB / 398.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001761/0.2986, allocations: 110.8 kB / 398.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.3, allocations: 1.033 MB / 399.9 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.3035, allocations: 3.589 MB / 403.5 MB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.3184, allocations: 7.809 MB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.3195, allocations: 1.256 MB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00143/0.321, allocations: 0.4922 MB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008539/0.3218, allocations: 0.5636 MB / 413.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3218, allocations: 0 / 413.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of Templates: time 0.1663/0.4882, allocations: 34.96 MB / 448.5 MB, free: 106.2 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5567275527864695]