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.001097/0.001097, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001061/0.001061, 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.9765/0.9765, allocations: 173.3 MB / 201.2 MB, free: 9.34 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.283e-06/1.283e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.925e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009227/0.009247, allocations: 11.61 MB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.01599, allocations: 4.288 MB / 283.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009004/0.01689, allocations: 99.44 kB / 284 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.01999, allocations: 3.107 MB / 287.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.02294, allocations: 2.111 MB / 289.2 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1328/0.1557, allocations: 1.147 MB / 290.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007679/0.1634, allocations: 6.215 MB / 296.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005005/0.1684, allocations: 3.722 MB / 300.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.1723, allocations: 2.689 MB / 303 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.1747, allocations: 2.661 MB / 305.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004773/0.1752, allocations: 375.3 kB / 306 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.1766, allocations: 1.219 MB / 307.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.1777, allocations: 2.294 MB / 309.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.1788, allocations: 1.43 MB / 311 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.1821, allocations: 5.125 MB / 316.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1821, allocations: 0 / 316.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1821, allocations: 0 / 316.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.387e-05/0.1821, allocations: 0 / 316.1 MB, free: 7.215 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.005063/0.1872, allocations: 5.747 MB / 321.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1872, allocations: 15.36 kB / 321.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.1994, allocations: 3.73 MB / 325.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.2036, allocations: 3.192 MB / 328.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.2037, allocations: 243.7 kB / 329 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003956/0.2041, allocations: 326.4 kB / 329.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006653/0.2108, allocations: 6.01 MB / 335.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-05/0.2109, allocations: 40.64 kB / 335.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.2111, allocations: 153.4 kB / 335.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00186/0.213, allocations: 1.956 MB / 337.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/0.2188, allocations: 3.227 MB / 340.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.2453, allocations: 41.37 MB / 382.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003645/0.249, allocations: 1.745 MB / 383.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008027/0.2498, allocations: 0.6579 MB / 384.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.2501, allocations: 207.7 kB / 384.7 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2501, allocations: 61.52 kB / 384.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=166): time 3.326e-06/0.2501, allocations: 0 / 384.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=201): time 0.02988/0.28, allocations: 15.96 MB / 400.7 MB, free: 1.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.2801, allocations: 252.1 kB / 401 MB, free: 1.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/0.2835, allocations: 3.613 MB / 404.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.2837, allocations: 57.7 kB / 404.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.2853, allocations: 3.396 MB / 408 MB, free: 10.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005792/0.2858, allocations: 0.831 MB / 408.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.287, allocations: 1.339 MB / 410.2 MB, free: 8.105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2871, allocations: 476.8 kB / 410.7 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.2884, allocations: 0.8044 MB / 411.5 MB, free: 6.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/0.2918, allocations: 6.057 MB / 417.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/0.2974, allocations: 7.475 MB / 425 MB, free: 4.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.252e-05/0.2974, allocations: 36 kB / 425 MB, free: 4.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.1372/0.4346, allocations: 6.758 MB / 431.8 MB, free: 107.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.4347, allocations: 57.75 kB / 431.8 MB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/0.4349, allocations: 121.1 kB / 432 MB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/0.4399, allocations: 1.848 MB / 433.8 MB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/0.4427, allocations: 1.305 MB / 435.1 MB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.4529, allocations: 10.4 MB / 445.5 MB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/0.4561, allocations: 432.4 kB / 445.9 MB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005232/0.4567, allocations: 358 kB / 446.3 MB, free: 102.1 MB / 378.7 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.001826/0.4585, allocations: 0.6349 MB / 446.9 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/0.4591, allocations: 411.8 kB / 447.3 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/0.4634, allocations: 2.648 MB / 450 MB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/0.4634, allocations: 25.47 kB / 450 MB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.4634, allocations: 11.56 kB / 450 MB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.4634, allocations: 7.312 kB / 450 MB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009573/0.473, allocations: 6.905 MB / 456.9 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.473, allocations: 0 / 456.9 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/0.4738, allocations: 279.6 kB / 457.2 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/0.4767, allocations: 1.221 MB / 458.4 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.4768, allocations: 38.53 kB / 458.4 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004898/0.4817, allocations: 4.235 MB / 462.7 MB, free: 98.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4817, allocations: 6.719 kB / 462.7 MB, free: 98.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/0.487, allocations: 3.785 MB / 466.5 MB, free: 96.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.4876, allocations: 370.6 kB / 466.8 MB, free: 96.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/0.4879, allocations: 35.98 kB / 466.9 MB, free: 96.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4889, allocations: 203.5 kB / 467.1 MB, free: 96.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.4892, allocations: 129 kB / 467.2 MB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/0.4892, allocations: 52 kB / 467.2 MB, free: 96.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001862/0.4911, allocations: 1.598 MB / 468.8 MB, free: 94.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4911, allocations: 0 / 468.8 MB, free: 94.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003653/0.4948, allocations: 1.341 MB / 470.2 MB, free: 93.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,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 (147): * Single equations (assignments): 143 * 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,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004091/0.4952, allocations: 186.4 kB / 470.4 MB, free: 93.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004652/0.4998, allocations: 4.045 MB / 474.4 MB, free: 89.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4998, allocations: 4.75 kB / 474.4 MB, free: 89.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.501, allocations: 1.119 MB / 475.5 MB, free: 87.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.5027, allocations: 0.5345 MB / 476.1 MB, free: 87.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/0.5118, allocations: 8.384 MB / 484.5 MB, free: 79.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/0.5128, allocations: 1.335 MB / 485.8 MB, free: 77.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002026/0.5148, allocations: 1.569 MB / 487.4 MB, free: 76.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.5153, allocations: 244.5 kB / 487.6 MB, free: 75.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.575e-06/0.5153, allocations: 0 / 487.6 MB, free: 75.87 MB / 378.7 MB Notification: Performance of Templates: time 0.05211/0.5674, allocations: 48.31 MB / 0.5233 GB, free: 28.14 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: 4.304185445886105]