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.001199/0.001199, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.002936, allocations: 445.7 kB / 10.37 MB, free: 328 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.001091/0.001091, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002727, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8837/0.8837, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1469/1.031, allocations: 49.48 MB / 220.5 MB, free: 1.453 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.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.643e-06/1.643e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.093e-05, allocations: 14.05 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01088/0.0109, allocations: 10.04 MB / 231.9 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008512/0.01942, allocations: 4.037 MB / 235.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.02159, allocations: 79.56 kB / 236 MB, free: 1.945 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.02534, allocations: 2.25 MB / 238.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005307/0.03065, allocations: 1.964 MB / 240.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.03247, allocations: 0.768 MB / 241 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007046/0.03952, allocations: 5.083 MB / 246.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003877/0.0434, allocations: 2.64 MB / 248.7 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/0.04722, allocations: 2.853 MB / 251.6 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.04967, allocations: 2.264 MB / 253.8 MB, free: 16 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005837/0.05025, allocations: 312 kB / 254.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.05181, allocations: 1.186 MB / 255.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.05312, allocations: 1.804 MB / 257.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.05445, allocations: 1.001 MB / 258.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.05861, allocations: 4.196 MB / 262.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.66e-05/0.05863, allocations: 0 / 262.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.05863, allocations: 0 / 262.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.05874, allocations: 0 / 262.3 MB, free: 7.5 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.005997/0.06474, allocations: 5.216 MB / 267.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.06476, allocations: 12.02 kB / 267.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003805/0.06857, allocations: 1.23 MB / 268.8 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.07199, allocations: 2.145 MB / 270.9 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.07211, allocations: 200.2 kB / 271.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.07256, allocations: 271.8 kB / 271.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004787/0.07735, allocations: 4.435 MB / 275.8 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/0.07743, allocations: 43.59 kB / 275.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.07764, allocations: 127.9 kB / 276 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001196/0.07884, allocations: 1.525 MB / 277.5 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/0.08244, allocations: 2.2 MB / 279.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1305/0.2129, allocations: 28.06 MB / 307.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.2155, allocations: 1.249 MB / 309 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.2159, allocations: 304.3 kB / 309.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003579/0.2195, allocations: 3.234 MB / 312.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2195, allocations: 48.78 kB / 312.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of pre-optimization done (n=121): time 2.545e-06/0.2195, allocations: 0 / 312.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01113/0.2307, allocations: 5.281 MB / 317.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2307, allocations: 144.1 kB / 318 MB, free: 10.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.2327, allocations: 3.152 MB / 321.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.2328, allocations: 41.77 kB / 321.2 MB, free: 10.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.2336, allocations: 2.774 MB / 324 MB, free: 8.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.2338, allocations: 0.5589 MB / 324.5 MB, free: 8.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/0.2345, allocations: 1.055 MB / 325.6 MB, free: 7.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.721e-05/0.2346, allocations: 301.1 kB / 325.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/0.2354, allocations: 0.6835 MB / 326.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.2368, allocations: 4.09 MB / 330.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.2393, allocations: 5.136 MB / 335.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/0.2393, allocations: 40.28 kB / 335.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.003424/0.2427, allocations: 3.838 MB / 339.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.2428, allocations: 56 kB / 339.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.267e-05/0.2428, allocations: 124 kB / 339.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007411/0.2436, allocations: 404.2 kB / 340.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.2456, allocations: 1.369 MB / 341.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.2473, allocations: 2.174 MB / 343.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.2489, allocations: 255 kB / 344 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.2492, allocations: 288 kB / 344.3 MB, free: 7.453 MB / 298.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.0007452/0.2499, allocations: 0.5658 MB / 344.9 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.2501, allocations: 199.8 kB / 345.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.2512, allocations: 0.7885 MB / 345.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.2512, allocations: 17.88 kB / 345.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2512, allocations: 4 kB / 345.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2512, allocations: 3.984 kB / 345.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/0.2549, allocations: 3.554 MB / 349.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2549, allocations: 9.578 kB / 349.5 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.2554, allocations: 204.4 kB / 349.7 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/0.2558, allocations: 420.7 kB / 350.1 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006766/0.2565, allocations: 416.7 kB / 350.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.2565, allocations: 32 kB / 350.5 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.2579, allocations: 1.911 MB / 352.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.2579, allocations: 12.64 kB / 352.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.2593, allocations: 1.679 MB / 354.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.2596, allocations: 25.95 kB / 354.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.2602, allocations: 39.92 kB / 354.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2603, allocations: 96.17 kB / 354.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.2604, allocations: 35.98 kB / 354.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008847/0.2612, allocations: 1.185 MB / 355.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2612, allocations: 0 / 355.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002187/0.2634, allocations: 0.9905 MB / 356.5 MB, free: 11.66 MB / 314.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.0002848/0.2637, allocations: 175 kB / 356.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.2657, allocations: 2.248 MB / 358.9 MB, free: 9.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001527/0.2659, allocations: 103.3 kB / 359 MB, free: 9.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.2663, allocations: 493.1 kB / 359.5 MB, free: 8.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.2679, allocations: 0.8463 MB / 360.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009857/0.2777, allocations: 6.947 MB / 367.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/0.2786, allocations: 1.127 MB / 368.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001239/0.2799, allocations: 468.8 kB / 368.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007117/0.2806, allocations: 0.5284 MB / 369.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.562e-06/0.2806, allocations: 4 kB / 369.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of Templates: time 0.04309/0.3237, allocations: 31.32 MB / 400.7 MB, free: 15.4 MB / 362.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 -ignoreHideResult -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.6719598500058055]