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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.0009562, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008822/0.0008822, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9266/0.9266, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.323e-05, allocations: 6.25 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009285/0.009308, allocations: 11.6 MB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007583/0.01689, allocations: 4.292 MB / 283.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.01857, allocations: 99.44 kB / 284 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.02186, allocations: 3.107 MB / 287.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.02594, allocations: 2.115 MB / 289.2 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1082/0.1342, allocations: 1.147 MB / 290.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006906/0.1411, allocations: 6.218 MB / 296.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004572/0.1456, allocations: 3.725 MB / 300.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004581/0.1502, allocations: 3.666 MB / 304 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.1528, allocations: 2.623 MB / 306.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000725/0.1535, allocations: 380 kB / 307 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.1549, allocations: 1.212 MB / 308.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.156, allocations: 2.297 MB / 310.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.1575, allocations: 1.422 MB / 311.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.1612, allocations: 5.137 MB / 317 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1612, allocations: 0 / 317 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1612, allocations: 0 / 317 MB, free: 6.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.116e-05/0.1613, allocations: 0 / 317 MB, free: 6.43 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.005366/0.1667, allocations: 5.803 MB / 322.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.1667, allocations: 12.92 kB / 322.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.1792, allocations: 3.645 MB / 326.5 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/0.1834, allocations: 2.848 MB / 329.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.1835, allocations: 244.6 kB / 329.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/0.1839, allocations: 330.3 kB / 329.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007674/0.1916, allocations: 5.999 MB / 335.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.1917, allocations: 53.83 kB / 336 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/0.192, allocations: 151.8 kB / 336.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00161/0.1936, allocations: 1.854 MB / 338 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.2, allocations: 3.027 MB / 341 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0302/0.2302, allocations: 41.72 MB / 382.7 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.2337, allocations: 1.515 MB / 384.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006491/0.2344, allocations: 469.5 kB / 384.7 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005085/0.2395, allocations: 3.931 MB / 388.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2395, allocations: 61.44 kB / 388.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 3.347e-06/0.2395, allocations: 4 kB / 388.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.02586/0.2654, allocations: 11.01 MB / 399.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.2655, allocations: 247.1 kB / 399.9 MB, free: 2.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004953/0.2704, allocations: 3.736 MB / 403.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.2706, allocations: 49.7 kB / 403.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/0.273, allocations: 3.522 MB / 407.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.274, allocations: 0.6149 MB / 407.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.2755, allocations: 1.297 MB / 409.1 MB, free: 9.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2756, allocations: 476.8 kB / 409.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.2768, allocations: 0.6166 MB / 410.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/0.2812, allocations: 6.152 MB / 416.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006696/0.2879, allocations: 7.314 MB / 423.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/0.288, allocations: 39.94 kB / 423.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01033/0.2983, allocations: 5.424 MB / 429.2 MB, free: 440 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.66e-05/0.2984, allocations: 60 kB / 429.2 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001577/0.2986, allocations: 135.9 kB / 429.3 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.112/0.4106, allocations: 0.7793 MB / 430.1 MB, free: 110.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.4135, allocations: 1.325 MB / 431.4 MB, free: 110.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/0.4188, allocations: 7.468 MB / 438.9 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/0.4221, allocations: 410.9 kB / 439.3 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005431/0.4226, allocations: 359.3 kB / 439.7 MB, free: 104.9 MB / 378.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.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 (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.001306/0.4239, allocations: 0.6398 MB / 440.3 MB, free: 104.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/0.4245, allocations: 392.2 kB / 440.7 MB, free: 104.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.4262, allocations: 1.084 MB / 441.8 MB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.4262, allocations: 15.97 kB / 441.8 MB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4262, allocations: 2.906 kB / 441.8 MB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.4263, allocations: 7.297 kB / 441.8 MB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/0.433, allocations: 4.892 MB / 446.7 MB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.433, allocations: 4.906 kB / 446.7 MB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.4335, allocations: 240.4 kB / 446.9 MB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007034/0.4342, allocations: 269.6 kB / 447.2 MB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.603e-05/0.4343, allocations: 31.31 kB / 447.2 MB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.436, allocations: 2.581 MB / 449.8 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.436, allocations: 13.11 kB / 449.8 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.4384, allocations: 2.268 MB / 452.1 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/0.439, allocations: 362.9 kB / 452.4 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.4392, allocations: 31.92 kB / 452.5 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.44, allocations: 136 kB / 452.6 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.4401, allocations: 102.4 kB / 452.7 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.4402, allocations: 50.17 kB / 452.8 MB, free: 100.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001926/0.4421, allocations: 1.644 MB / 454.4 MB, free: 100.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4421, allocations: 0 / 454.4 MB, free: 100.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003555/0.4457, allocations: 1.092 MB / 455.5 MB, free: 100.7 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.0003832/0.4461, allocations: 192.8 kB / 455.7 MB, free: 100.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00415/0.4502, allocations: 3.317 MB / 459 MB, free: 99.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.4502, allocations: 1.656 kB / 459 MB, free: 99.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006835/0.4509, allocations: 0.6715 MB / 459.7 MB, free: 99.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.453, allocations: 0.527 MB / 460.2 MB, free: 99.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/0.4618, allocations: 7.892 MB / 468.1 MB, free: 93.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/0.4628, allocations: 1.287 MB / 469.4 MB, free: 92.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002106/0.4649, allocations: 1.528 MB / 470.9 MB, free: 91.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.4653, allocations: 227.9 kB / 471.1 MB, free: 91.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.4653, allocations: 0 / 471.1 MB, free: 91.48 MB / 378.7 MB Notification: Performance of Templates: time 0.04182/0.5071, allocations: 33.74 MB / 0.493 GB, free: 58.96 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8676051339134574]