Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001647, allocations: 75.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 163.8 kB / 24.99 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.957/0.957, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.644e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.00895/0.008967, allocations: 11.44 MB / 284.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.01599, allocations: 4.265 MB / 288.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.01724, allocations: 95.44 kB / 288.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1217/0.1389, allocations: 3.079 MB / 291.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.1493, allocations: 2.056 MB / 293.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.1511, allocations: 1.147 MB / 295.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0119/0.163, allocations: 6.335 MB / 301.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005289/0.1683, allocations: 3.7 MB / 305.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.171, allocations: 2.649 MB / 307.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.1734, allocations: 2.642 MB / 310.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.1739, allocations: 376.5 kB / 310.8 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1752, allocations: 1.188 MB / 312 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.1764, allocations: 2.249 MB / 314.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.1775, allocations: 1.396 MB / 315.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003662/0.1811, allocations: 5.013 MB / 320.6 MB, free: 452 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1811, allocations: 0 / 320.6 MB, free: 452 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1812, allocations: 0 / 320.6 MB, free: 452 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.975e-05/0.1812, allocations: 0 / 320.6 MB, free: 452 kB / 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.007094/0.1883, allocations: 5.675 MB / 326.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1883, allocations: 15.98 kB / 326.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/0.2008, allocations: 3.712 MB / 330 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.2045, allocations: 3.174 MB / 333.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.2047, allocations: 236.8 kB / 333.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000525/0.2052, allocations: 325.9 kB / 333.8 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006795/0.212, allocations: 5.957 MB / 339.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.04e-05/0.2121, allocations: 50.28 kB / 339.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/0.2124, allocations: 148.7 kB / 339.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001976/0.2143, allocations: 1.902 MB / 341.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.2201, allocations: 3.195 MB / 345 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.2495, allocations: 41 MB / 386 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/0.2551, allocations: 1.754 MB / 387.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/0.2561, allocations: 0.6625 MB / 388.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.2564, allocations: 195.4 kB / 388.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2564, allocations: 62.31 kB / 388.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 3.616e-06/0.2564, allocations: 4 kB / 388.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=201): time 0.03174/0.2881, allocations: 15.91 MB / 404.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.2882, allocations: 264.6 kB / 404.8 MB, free: 11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.2915, allocations: 3.592 MB / 408.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.2916, allocations: 57.7 kB / 408.5 MB, free: 7.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.2933, allocations: 3.361 MB / 411.8 MB, free: 4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000528/0.2938, allocations: 0.8262 MB / 412.7 MB, free: 3.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.295, allocations: 1.332 MB / 414 MB, free: 1.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.2951, allocations: 480.8 kB / 414.5 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.2964, allocations: 0.8083 MB / 415.3 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003809/0.3002, allocations: 6.055 MB / 421.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005695/0.3059, allocations: 7.476 MB / 428.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.892e-05/0.3059, allocations: 36 kB / 428.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.009284/0.3152, allocations: 6.756 MB / 435.6 MB, free: 7.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.3152, allocations: 60 kB / 435.7 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.329e-05/0.3153, allocations: 120 kB / 435.8 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004125/0.3194, allocations: 1.846 MB / 437.6 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.3216, allocations: 1.31 MB / 438.9 MB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1248/0.4463, allocations: 10.36 MB / 449.3 MB, free: 121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.4493, allocations: 426.2 kB / 449.7 MB, free: 121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004806/0.4498, allocations: 361 kB / 450.1 MB, free: 121 MB / 394.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.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.001254/0.4511, allocations: 0.6475 MB / 450.7 MB, free: 120.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/0.4516, allocations: 411.7 kB / 451.1 MB, free: 120.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/0.4563, allocations: 2.643 MB / 453.8 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.4563, allocations: 21.91 kB / 453.8 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.4563, allocations: 8.344 kB / 453.8 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.4564, allocations: 11.47 kB / 453.8 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009603/0.466, allocations: 6.854 MB / 460.7 MB, free: 119.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.466, allocations: 3.125 kB / 460.7 MB, free: 119.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/0.4667, allocations: 282.9 kB / 460.9 MB, free: 119.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/0.4694, allocations: 1.22 MB / 462.2 MB, free: 119.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.4695, allocations: 31.53 kB / 462.2 MB, free: 119.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004609/0.4741, allocations: 4.229 MB / 466.4 MB, free: 117.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4741, allocations: 3.938 kB / 466.4 MB, free: 117.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.4792, allocations: 3.792 MB / 470.2 MB, free: 116 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.4797, allocations: 369.5 kB / 470.6 MB, free: 116 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.48, allocations: 35.03 kB / 470.6 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/0.4809, allocations: 202.9 kB / 470.8 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.4812, allocations: 118.7 kB / 470.9 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.121e-05/0.4813, allocations: 52.25 kB / 471 MB, free: 115.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001719/0.483, allocations: 1.597 MB / 472.6 MB, free: 115.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.483, allocations: 0 / 472.6 MB, free: 115.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003448/0.4864, allocations: 1.317 MB / 473.9 MB, free: 115.2 MB / 394.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.0003743/0.4868, allocations: 183.2 kB / 474.1 MB, free: 115.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004404/0.4912, allocations: 4.036 MB / 478.1 MB, free: 112.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4912, allocations: 0 / 478.1 MB, free: 112.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.4924, allocations: 1.129 MB / 479.2 MB, free: 111.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.4941, allocations: 0.514 MB / 479.7 MB, free: 110.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00955/0.5037, allocations: 8.289 MB / 488 MB, free: 102.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009947/0.5047, allocations: 1.31 MB / 489.3 MB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002161/0.5068, allocations: 1.574 MB / 490.9 MB, free: 99.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.5074, allocations: 241.1 kB / 491.2 MB, free: 99.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5074, allocations: 0 / 491.2 MB, free: 99.12 MB / 394.7 MB Notification: Performance of Templates: time 0.04945/0.5568, allocations: 48.06 MB / 0.5266 GB, free: 51.64 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9544001151807606]