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.001357/0.001357, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001471/0.001471, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 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 1.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.598 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 2.094e-06/2.094e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.171e-05, allocations: 9.203 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009653/0.009685, allocations: 11.48 MB / 284.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006406/0.01609, allocations: 4.281 MB / 288.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007974/0.01689, allocations: 95.44 kB / 288.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.119/0.1359, allocations: 3.079 MB / 291.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004391/0.1403, allocations: 2.057 MB / 293.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1419, allocations: 1.148 MB / 295.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005625/0.1476, allocations: 6.346 MB / 301.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/0.1507, allocations: 3.695 MB / 305.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.1532, allocations: 2.653 MB / 307.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.1553, allocations: 2.64 MB / 310.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005295/0.1559, allocations: 371.5 kB / 310.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.1571, allocations: 1.195 MB / 312 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009947/0.1581, allocations: 2.249 MB / 314.2 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.1592, allocations: 1.397 MB / 315.6 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.1625, allocations: 5.009 MB / 320.6 MB, free: 248 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1625, allocations: 0 / 320.6 MB, free: 248 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1625, allocations: 0 / 320.6 MB, free: 248 kB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001053/0.1626, allocations: 4 kB / 320.6 MB, free: 244 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.006362/0.169, allocations: 5.676 MB / 326.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.169, allocations: 15.98 kB / 326.3 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.1814, allocations: 3.71 MB / 330 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/0.1858, allocations: 3.171 MB / 333.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.1859, allocations: 245.2 kB / 333.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.1863, allocations: 322.4 kB / 333.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006654/0.1929, allocations: 5.952 MB / 339.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.738e-05/0.193, allocations: 46.38 kB / 339.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/0.1933, allocations: 152.5 kB / 339.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/0.1952, allocations: 1.902 MB / 341.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00539/0.2005, allocations: 3.195 MB / 345 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/0.2289, allocations: 41 MB / 386 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005013/0.2339, allocations: 1.749 MB / 387.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.235, allocations: 0.6554 MB / 388.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/0.2354, allocations: 198.2 kB / 388.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.2355, allocations: 58.33 kB / 388.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 4.228e-06/0.2355, allocations: 0 / 388.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=201): time 0.03851/0.274, allocations: 15.9 MB / 404.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.2741, allocations: 260.6 kB / 404.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/0.2782, allocations: 3.6 MB / 408.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.2783, allocations: 53.7 kB / 408.4 MB, free: 7.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002037/0.2803, allocations: 3.365 MB / 411.8 MB, free: 3.773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007639/0.2811, allocations: 0.83 MB / 412.6 MB, free: 2.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/0.2828, allocations: 1.33 MB / 414 MB, free: 1.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2829, allocations: 476.8 kB / 414.4 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.2843, allocations: 0.8044 MB / 415.2 MB, free: 340 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/0.288, allocations: 6.055 MB / 421.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00615/0.2942, allocations: 7.479 MB / 428.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-05/0.2942, allocations: 35.94 kB / 428.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.009581/0.3038, allocations: 6.76 MB / 435.6 MB, free: 7.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.711e-05/0.3039, allocations: 56 kB / 435.6 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.642e-05/0.3039, allocations: 128.1 kB / 435.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004104/0.308, allocations: 1.849 MB / 437.6 MB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.3102, allocations: 1.31 MB / 438.9 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1384/0.4486, allocations: 10.37 MB / 449.3 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.4518, allocations: 425.7 kB / 449.7 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005058/0.4523, allocations: 360 kB / 450.1 MB, free: 115.1 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.001332/0.4537, allocations: 0.642 MB / 450.7 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005459/0.4542, allocations: 412.9 kB / 451.1 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/0.4589, allocations: 2.656 MB / 453.8 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.4589, allocations: 21.34 kB / 453.8 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.4589, allocations: 8.062 kB / 453.8 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.4589, allocations: 10.98 kB / 453.8 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009389/0.4683, allocations: 6.837 MB / 460.6 MB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4683, allocations: 0 / 460.6 MB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.469, allocations: 283.5 kB / 460.9 MB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/0.4716, allocations: 1.215 MB / 462.1 MB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.4717, allocations: 38.69 kB / 462.2 MB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.4761, allocations: 4.232 MB / 466.4 MB, free: 112.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4761, allocations: 6.906 kB / 466.4 MB, free: 112.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.481, allocations: 3.793 MB / 470.2 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.4814, allocations: 360.6 kB / 470.5 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.4816, allocations: 42.28 kB / 470.6 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/0.4825, allocations: 199.9 kB / 470.8 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.4828, allocations: 126 kB / 470.9 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/0.4828, allocations: 54.48 kB / 471 MB, free: 110.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001589/0.4844, allocations: 1.591 MB / 472.5 MB, free: 110.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4844, allocations: 0 / 472.5 MB, free: 110.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003351/0.4878, allocations: 1.311 MB / 473.9 MB, free: 110.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.0003535/0.4881, allocations: 188 kB / 474 MB, free: 110.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.4924, allocations: 4.036 MB / 478.1 MB, free: 108.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4924, allocations: 0 / 478.1 MB, free: 108.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4935, allocations: 1.121 MB / 479.2 MB, free: 107.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.4951, allocations: 0.5258 MB / 479.7 MB, free: 107.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.5038, allocations: 8.282 MB / 488 MB, free: 99.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009641/0.5048, allocations: 1.314 MB / 489.3 MB, free: 97.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002148/0.5069, allocations: 1.568 MB / 490.9 MB, free: 96.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.5074, allocations: 243.8 kB / 491.1 MB, free: 95.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/0.5074, allocations: 0 / 491.1 MB, free: 95.96 MB / 394.7 MB Notification: Performance of Templates: time 0.05015/0.5576, allocations: 48.05 MB / 0.5265 GB, free: 48.5 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: 4.362754610367119]