Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.001473/0.001473, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.00146/0.00146, allocations: 165.6 kB / 25.69 MB, free: 8.445 MB / 18.57 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.8317/0.8317, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.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.DoublePendulum,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.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,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.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.566e-05, allocations: 6.25 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01182/0.01184, allocations: 9.929 MB / 261.5 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009406/0.02125, allocations: 4.005 MB / 265.5 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.02307, allocations: 79.56 kB / 265.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004753/0.02782, allocations: 2.367 MB / 267.9 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.03255, allocations: 2.014 MB / 269.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.03372, allocations: 0.8459 MB / 270.8 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004508/0.03823, allocations: 5.5 MB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.04083, allocations: 3.096 MB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/0.04396, allocations: 2.943 MB / 282.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.04634, allocations: 2.268 MB / 284.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.0468, allocations: 312 kB / 284.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.04823, allocations: 1.139 MB / 286 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.04949, allocations: 2.018 MB / 288 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.05075, allocations: 1.231 MB / 289.3 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.05469, allocations: 4.547 MB / 293.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.05469, allocations: 3.984 kB / 293.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.0547, allocations: 0 / 293.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.158e-05/0.05478, allocations: 3.938 kB / 293.8 MB, free: 12.76 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.005315/0.06009, allocations: 4.352 MB / 298.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.06013, allocations: 11.98 kB / 298.2 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.06377, allocations: 1.202 MB / 299.4 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.06641, allocations: 2.14 MB / 301.5 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.561e-05/0.06651, allocations: 201.4 kB / 301.7 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.06684, allocations: 275.7 kB / 302 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004601/0.07144, allocations: 4.431 MB / 306.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.409e-05/0.07154, allocations: 47.58 kB / 306.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.07178, allocations: 127.9 kB / 306.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001273/0.07306, allocations: 1.509 MB / 308.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/0.07687, allocations: 2.196 MB / 310.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02194/0.09881, allocations: 28.09 MB / 338.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.1015, allocations: 1.26 MB / 339.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/0.1019, allocations: 309.3 kB / 340 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004392/0.1063, allocations: 3.247 MB / 343.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1064, allocations: 51.16 kB / 343.3 MB, free: 9.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 3.837e-06/0.1064, allocations: 0 / 343.3 MB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01288/0.1193, allocations: 5.379 MB / 348.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.1193, allocations: 251.9 kB / 348.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.1222, allocations: 3.143 MB / 352 MB, free: 496 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.1222, allocations: 41.7 kB / 352.1 MB, free: 448 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1073/0.2295, allocations: 2.77 MB / 354.8 MB, free: 95.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007564/0.2303, allocations: 0.5598 MB / 355.4 MB, free: 95.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000975/0.2312, allocations: 1.057 MB / 356.5 MB, free: 94.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.301e-05/0.2313, allocations: 303.4 kB / 356.8 MB, free: 94.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009676/0.2322, allocations: 0.6786 MB / 357.4 MB, free: 94.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.234, allocations: 4.092 MB / 361.5 MB, free: 90.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.2368, allocations: 5.129 MB / 366.7 MB, free: 85.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.573e-05/0.2369, allocations: 34.69 kB / 366.7 MB, free: 85.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.004184/0.241, allocations: 3.85 MB / 370.5 MB, free: 84.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.2411, allocations: 57.09 kB / 370.6 MB, free: 84.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-05/0.2412, allocations: 119 kB / 370.7 MB, free: 84.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/0.242, allocations: 405.9 kB / 371.1 MB, free: 84.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.2438, allocations: 1.239 MB / 372.3 MB, free: 83.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.2453, allocations: 2.172 MB / 374.5 MB, free: 82.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.2473, allocations: 242.6 kB / 374.8 MB, free: 81.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.2475, allocations: 291.8 kB / 375 MB, free: 81.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * Number of states: 0 () * Number of discrete variables: 30 (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 (688): * Single equations (assignments): 684 * 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 prepare postOptimizeDAE: time 0.0008433/0.2483, allocations: 0.5646 MB / 375.6 MB, free: 81.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.2486, allocations: 206 kB / 375.8 MB, free: 81.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.2495, allocations: 0.7913 MB / 376.6 MB, free: 80.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.2495, allocations: 16 kB / 376.6 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2495, allocations: 0 / 376.6 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2495, allocations: 7.891 kB / 376.6 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.2531, allocations: 3.562 MB / 380.2 MB, free: 78.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.2531, allocations: 8 kB / 380.2 MB, free: 78.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.2535, allocations: 177.9 kB / 380.4 MB, free: 77.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006665/0.2541, allocations: 408.3 kB / 380.8 MB, free: 77.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.2542, allocations: 28 kB / 380.8 MB, free: 77.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.2553, allocations: 1.901 MB / 382.7 MB, free: 75.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2554, allocations: 8 kB / 382.7 MB, free: 75.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.2566, allocations: 1.695 MB / 384.4 MB, free: 73.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.2571, allocations: 418 kB / 384.8 MB, free: 73.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.2573, allocations: 32 kB / 384.8 MB, free: 73.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.2579, allocations: 31.36 kB / 384.9 MB, free: 73.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.258, allocations: 100.2 kB / 385 MB, free: 73.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.2581, allocations: 36 kB / 385 MB, free: 73.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007933/0.2589, allocations: 1.184 MB / 386.2 MB, free: 72.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2589, allocations: 0 / 386.2 MB, free: 72.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002668/0.2615, allocations: 0.9908 MB / 387.2 MB, free: 71.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (105): * Single equations (assignments): 101 * 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.0002774/0.2618, allocations: 170.2 kB / 387.3 MB, free: 70.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.2639, allocations: 2.244 MB / 389.6 MB, free: 68.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000122/0.264, allocations: 98.16 kB / 389.7 MB, free: 68.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.2644, allocations: 494.3 kB / 390.2 MB, free: 68.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.2659, allocations: 0.5827 MB / 390.7 MB, free: 67.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.2721, allocations: 6.768 MB / 397.5 MB, free: 60.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.2728, allocations: 1.126 MB / 398.6 MB, free: 59.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009536/0.2737, allocations: 472.4 kB / 399.1 MB, free: 59.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.2744, allocations: 0.5284 MB / 399.6 MB, free: 58.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2744, allocations: 0 / 399.6 MB, free: 58.49 MB / 330.7 MB Notification: Performance of Templates: time 0.03849/0.3129, allocations: 30.57 MB / 430.2 MB, free: 27.95 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.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.4195492467842996]