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.002017/0.002017, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002446/0.002446, allocations: 156.9 kB / 24.26 MB, free: 148 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.539/1.539, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.805e-06/2.805e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.646e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01653/0.01657, allocations: 10.35 MB / 282.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.0277, allocations: 4.148 MB / 286.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.03064, allocations: 99.44 kB / 286.8 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007475/0.03812, allocations: 2.99 MB / 289.8 MB, free: 104 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1576/0.1957, allocations: 2.046 MB / 291.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.1991, allocations: 1.137 MB / 293 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00992/0.209, allocations: 6.332 MB / 299.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005636/0.2146, allocations: 3.7 MB / 303 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007033/0.2217, allocations: 2.631 MB / 305.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00432/0.226, allocations: 2.584 MB / 308.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.2272, allocations: 379.5 kB / 308.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.2297, allocations: 1.192 MB / 309.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.2313, allocations: 2.243 MB / 312 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.233, allocations: 1.397 MB / 313.4 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.2415, allocations: 7.745 MB / 321.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.2416, allocations: 0 / 321.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.2416, allocations: 0 / 321.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000319/0.2419, allocations: 0 / 321.2 MB, free: 15.01 MB / 282.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.01866/0.2605, allocations: 5.348 MB / 326.5 MB, free: 9.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.2606, allocations: 11.98 kB / 326.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02963/0.2902, allocations: 3.756 MB / 330.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.3013, allocations: 3.456 MB / 333.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.3017, allocations: 239.7 kB / 334 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/0.3034, allocations: 325.2 kB / 334.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/0.3278, allocations: 10.06 MB / 344.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002453/0.3281, allocations: 54.09 kB / 344.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/0.3292, allocations: 152.3 kB / 344.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003984/0.3332, allocations: 1.91 MB / 346.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.3523, allocations: 8.569 MB / 355 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05573/0.408, allocations: 35.97 MB / 391 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00913/0.4171, allocations: 3.047 MB / 394.1 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/0.4204, allocations: 2.089 MB / 396.1 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/0.421, allocations: 230.9 kB / 396.4 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.4211, allocations: 51.56 kB / 396.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 4.348e-06/0.4211, allocations: 0 / 396.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=202): time 0.09402/0.5151, allocations: 31.9 MB / 428.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.5153, allocations: 256.6 kB / 428.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1362/0.6515, allocations: 4.084 MB / 432.7 MB, free: 120.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005349/0.652, allocations: 56.09 kB / 432.7 MB, free: 120.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.6539, allocations: 3.18 MB / 435.9 MB, free: 119.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009129/0.6548, allocations: 0.7959 MB / 436.7 MB, free: 119 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/0.6567, allocations: 1.243 MB / 437.9 MB, free: 118.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.6567, allocations: 302.9 kB / 438.2 MB, free: 118.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00389/0.6606, allocations: 2.775 MB / 441 MB, free: 117.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005039/0.6657, allocations: 6.333 MB / 447.3 MB, free: 111.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008248/0.6739, allocations: 9.616 MB / 457 MB, free: 104.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.674, allocations: 34.22 kB / 457 MB, free: 104.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.02034/0.6944, allocations: 12.7 MB / 469.7 MB, free: 98.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.6944, allocations: 56 kB / 469.7 MB, free: 98.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.29e-05/0.6945, allocations: 120 kB / 469.9 MB, free: 98.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01229/0.7068, allocations: 4.849 MB / 474.7 MB, free: 93.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/0.7103, allocations: 1.279 MB / 476 MB, free: 92.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0282/0.7385, allocations: 25.57 MB / 0.4898 GB, free: 66.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005357/0.7438, allocations: 475.4 kB / 0.4903 GB, free: 66.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006224/0.7445, allocations: 356 kB / 0.4906 GB, free: 65.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * 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 (691): * Single equations (assignments): 685 * 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,37,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.002593/0.7471, allocations: 2.136 MB / 0.4927 GB, free: 63.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008783/0.7479, allocations: 413.6 kB / 0.4931 GB, free: 63.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.7583, allocations: 6.295 MB / 0.4992 GB, free: 56.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/0.7584, allocations: 20 kB / 0.4992 GB, free: 56.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7584, allocations: 8 kB / 0.4992 GB, free: 56.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.7584, allocations: 7.969 kB / 0.4993 GB, free: 56.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.7764, allocations: 11.47 MB / 0.5105 GB, free: 45.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.7764, allocations: 0 / 0.5105 GB, free: 45.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.7777, allocations: 303.5 kB / 0.5107 GB, free: 45.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007494/0.7852, allocations: 2.954 MB / 0.5136 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.7854, allocations: 35.98 kB / 0.5137 GB, free: 42.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.7994, allocations: 12.57 MB / 0.5259 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7994, allocations: 0 / 0.5259 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.8136, allocations: 9.919 MB / 0.5356 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.8152, allocations: 377.5 kB / 0.536 GB, free: 19.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/0.8163, allocations: 28 kB / 0.536 GB, free: 19.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/0.8189, allocations: 251.6 kB / 0.5363 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005037/0.8194, allocations: 132.5 kB / 0.5364 GB, free: 18.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/0.8196, allocations: 47.98 kB / 0.5364 GB, free: 18.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003023/0.8226, allocations: 2.436 MB / 0.5388 GB, free: 16.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.8226, allocations: 0 / 0.5388 GB, free: 16.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005468/0.828, allocations: 1.41 MB / 0.5402 GB, free: 14.83 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 (146): * Single equations (assignments): 142 * 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 {(3,34,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004664/0.8285, allocations: 191.1 kB / 0.5404 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009289/0.8378, allocations: 6.978 MB / 0.5472 GB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.8378, allocations: 0 / 0.5472 GB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/0.841, allocations: 2.351 MB / 0.5495 GB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004727/0.8457, allocations: 0.5391 MB / 0.55 GB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/0.8674, allocations: 10.63 MB / 0.5604 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1503/1.018, allocations: 2.865 MB / 0.5632 GB, free: 120.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005283/1.023, allocations: 1.816 MB / 0.565 GB, free: 120.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.024, allocations: 235.9 kB / 0.5652 GB, free: 120.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.084e-06/1.024, allocations: 3.312 kB / 0.5652 GB, free: 120.8 MB / 394.7 MB Notification: Performance of Templates: time 0.08297/1.107, allocations: 56.04 MB / 0.6199 GB, free: 83.8 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.090812685084529]