Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002799, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.002146, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.914/0.914, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1898/1.104, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.021e-05, allocations: 2.312 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01023/0.01026, allocations: 11.77 MB / 233.8 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008968/0.01923, allocations: 4.556 MB / 238.3 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.02066, allocations: 99.44 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003054/0.02371, allocations: 2.954 MB / 241.4 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003519/0.02723, allocations: 2.154 MB / 243.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.02884, allocations: 1.064 MB / 244.6 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005427/0.03426, allocations: 5.568 MB / 250.2 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.03791, allocations: 3.408 MB / 253.6 MB, free: 300 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.04168, allocations: 3.286 MB / 256.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.04488, allocations: 2.584 MB / 259.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009438/0.04583, allocations: 396 kB / 259.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.04773, allocations: 1.268 MB / 261.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001415/0.04915, allocations: 2.116 MB / 263.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.05059, allocations: 1.2 MB / 264.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004835/0.05542, allocations: 4.877 MB / 269.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.05544, allocations: 0 / 269.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.05544, allocations: 0 / 269.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002475/0.05569, allocations: 0 / 269.3 MB, free: 0.5391 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.007682/0.06337, allocations: 6.054 MB / 275.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.06341, allocations: 8.031 kB / 275.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004313/0.06773, allocations: 1.355 MB / 276.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/0.07061, allocations: 2.404 MB / 279.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.07074, allocations: 250.7 kB / 279.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/0.07115, allocations: 339.7 kB / 279.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005498/0.07664, allocations: 5.08 MB / 284.8 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.853e-05/0.07672, allocations: 51.58 kB / 284.8 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.07698, allocations: 155.8 kB / 285 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1517/0.2287, allocations: 1.657 MB / 286.6 MB, free: 44.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007187/0.2358, allocations: 2.508 MB / 289.1 MB, free: 44.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0238/0.2596, allocations: 30.67 MB / 319.8 MB, free: 22.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.2624, allocations: 1.387 MB / 321.2 MB, free: 22.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.2628, allocations: 332.4 kB / 321.5 MB, free: 22.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003725/0.2666, allocations: 3.523 MB / 325 MB, free: 19.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.2666, allocations: 47.22 kB / 325.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=136): time 2.775e-06/0.2666, allocations: 0 / 325.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=153): time 0.01414/0.2807, allocations: 6.516 MB / 331.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.2808, allocations: 145.5 kB / 331.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.2828, allocations: 3.4 MB / 335.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.2829, allocations: 45.7 kB / 335.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007888/0.2837, allocations: 3.189 MB / 338.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.2839, allocations: 0.6396 MB / 339 MB, free: 6.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007321/0.2847, allocations: 1.175 MB / 340.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.828e-05/0.2847, allocations: 305.1 kB / 340.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009249/0.2856, allocations: 0.7428 MB / 341.2 MB, free: 4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.2878, allocations: 4.46 MB / 345.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004971/0.2928, allocations: 6.071 MB / 351.8 MB, free: 5.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.91e-05/0.2928, allocations: 36 kB / 351.8 MB, free: 5.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005198/0.298, allocations: 4.338 MB / 356.1 MB, free: 1.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.2981, allocations: 64 kB / 356.2 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.2982, allocations: 140 kB / 356.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.2996, allocations: 0.6624 MB / 357 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.3019, allocations: 1.478 MB / 358.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004559/0.3065, allocations: 5.373 MB / 363.8 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.3087, allocations: 275.7 kB / 364.1 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/0.309, allocations: 316 kB / 364.4 MB, free: 8.754 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 33 (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 (746): * Single equations (assignments): 740 * 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.001173/0.3102, allocations: 0.6145 MB / 365 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.3105, allocations: 231.7 kB / 365.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3118, allocations: 0.8994 MB / 366.2 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.3118, allocations: 16 kB / 366.2 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3118, allocations: 11.88 kB / 366.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.3118, allocations: 7.969 kB / 366.2 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005715/0.3175, allocations: 4.159 MB / 370.4 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.3176, allocations: 16.19 kB / 370.4 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.3181, allocations: 260.9 kB / 370.6 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006048/0.3187, allocations: 457.4 kB / 371.1 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008114/0.3195, allocations: 416.5 kB / 371.5 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.3196, allocations: 28 kB / 371.5 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.3213, allocations: 1.915 MB / 373.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.3213, allocations: 11.94 kB / 373.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.3231, allocations: 1.849 MB / 375.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.3233, allocations: 32 kB / 375.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/0.324, allocations: 43.98 kB / 375.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/0.3245, allocations: 112.3 kB / 375.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.3245, allocations: 43.98 kB / 375.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001058/0.3256, allocations: 1.289 MB / 376.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3256, allocations: 0 / 376.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003021/0.3286, allocations: 1.113 MB / 377.9 MB, free: 10.86 MB / 330.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 (127): * Single equations (assignments): 123 * 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.0003195/0.3289, allocations: 187.9 kB / 378.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002871/0.3318, allocations: 2.923 MB / 381 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001727/0.332, allocations: 110.7 kB / 381.1 MB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.333, allocations: 1.084 MB / 382.2 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.3359, allocations: 3.577 MB / 385.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.3484, allocations: 8.184 MB / 394 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.3495, allocations: 1.328 MB / 395.3 MB, free: 8.754 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001031/0.3505, allocations: 0.5085 MB / 395.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008215/0.3513, allocations: 0.5869 MB / 396.4 MB, free: 7.652 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3513, allocations: 0 / 396.4 MB, free: 7.652 MB / 346.7 MB Notification: Performance of Templates: time 0.1759/0.5272, allocations: 36.4 MB / 432.8 MB, free: 102.9 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7337177507579327]