Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 76.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 152.3 kB / 25.6 MB, free: 8.566 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8778/0.8778, allocations: 173.4 MB / 202.2 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.565e-05, allocations: 2.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.00863/0.008646, allocations: 11.25 MB / 280.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00567/0.01432, allocations: 4.24 MB / 284.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007854/0.0151, allocations: 103.4 kB / 284.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.0179, allocations: 3.056 MB / 287.9 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.02033, allocations: 2.119 MB / 290 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.02148, allocations: 1.146 MB / 291.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004078/0.02555, allocations: 6.238 MB / 297.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.02823, allocations: 3.718 MB / 301.1 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.03159, allocations: 3.669 MB / 304.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.03405, allocations: 2.631 MB / 307.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005201/0.03457, allocations: 380 kB / 307.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.036, allocations: 1.213 MB / 309 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.03731, allocations: 2.303 MB / 311.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.03842, allocations: 1.425 MB / 312.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.04218, allocations: 5.127 MB / 317.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.04218, allocations: 4 kB / 317.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.04218, allocations: 0 / 317.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-05/0.04222, allocations: 4 kB / 317.8 MB, free: 8.961 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.005431/0.04765, allocations: 5.509 MB / 323.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.04768, allocations: 8.031 kB / 323.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.05895, allocations: 2.733 MB / 326.1 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.06189, allocations: 2.499 MB / 328.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.062, allocations: 238.5 kB / 328.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.06235, allocations: 335.7 kB / 329.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005358/0.06771, allocations: 5.471 MB / 334.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.56e-05/0.06779, allocations: 39.64 kB / 334.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.06804, allocations: 151.9 kB / 334.8 MB, free: 6.965 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.06948, allocations: 1.702 MB / 336.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/0.07316, allocations: 2.393 MB / 338.9 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.137/0.2102, allocations: 41.36 MB / 380.2 MB, free: 37.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.2131, allocations: 1.319 MB / 381.6 MB, free: 36.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.2135, allocations: 406.8 kB / 382 MB, free: 36.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003747/0.2172, allocations: 3.676 MB / 385.6 MB, free: 35.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2173, allocations: 61.64 kB / 385.7 MB, free: 35.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.414e-06/0.2173, allocations: 0 / 385.7 MB, free: 35.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.0146/0.2319, allocations: 6.663 MB / 392.4 MB, free: 35.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.2319, allocations: 259.9 kB / 392.6 MB, free: 34.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.2343, allocations: 3.71 MB / 396.3 MB, free: 34.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.2344, allocations: 46.67 kB / 396.4 MB, free: 34.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.2356, allocations: 3.554 MB / 399.9 MB, free: 32.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.2359, allocations: 0.6269 MB / 400.5 MB, free: 32.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000874/0.2367, allocations: 1.321 MB / 401.9 MB, free: 31.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.2e-05/0.2368, allocations: 480.6 kB / 402.3 MB, free: 31.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.2375, allocations: 0.5541 MB / 402.9 MB, free: 31.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.2394, allocations: 6.117 MB / 409 MB, free: 23.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.2425, allocations: 7.157 MB / 416.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.064e-05/0.2426, allocations: 40 kB / 416.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.004668/0.2472, allocations: 4.955 MB / 421.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.2473, allocations: 60 kB / 421.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-05/0.2473, allocations: 132 kB / 421.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.2486, allocations: 0.6631 MB / 422 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/0.2509, allocations: 1.294 MB / 423.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.2549, allocations: 7.085 MB / 430.4 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.2569, allocations: 267.7 kB / 430.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.2571, allocations: 308 kB / 431 MB, free: 0.8438 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.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 (723): * Single equations (assignments): 717 * 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.0008109/0.2579, allocations: 0.6452 MB / 431.6 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.2583, allocations: 389.6 kB / 432 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.2595, allocations: 0.9505 MB / 432.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.2596, allocations: 16 kB / 432.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2596, allocations: 8 kB / 433 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2596, allocations: 10.88 kB / 433 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005664/0.2652, allocations: 4.727 MB / 437.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.2652, allocations: 8 kB / 437.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.2657, allocations: 195.7 kB / 437.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005917/0.2663, allocations: 239.7 kB / 438.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.2663, allocations: 32 kB / 438.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.2679, allocations: 2.472 MB / 440.6 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.2679, allocations: 11.94 kB / 440.6 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.2697, allocations: 2.109 MB / 442.7 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.27, allocations: 348.8 kB / 443.1 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.2702, allocations: 32 kB / 443.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.2709, allocations: 39.92 kB / 443.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.271, allocations: 106.4 kB / 443.3 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.2711, allocations: 36 kB / 443.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.2722, allocations: 1.531 MB / 444.8 MB, free: 3.371 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2722, allocations: 0 / 444.8 MB, free: 3.371 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002846/0.2751, allocations: 1.09 MB / 445.9 MB, free: 2.281 MB / 346.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 (116): * Single equations (assignments): 112 * 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.0002785/0.2754, allocations: 191.7 kB / 446.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.2782, allocations: 3.079 MB / 449.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2782, allocations: 0 / 449.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.2788, allocations: 0.6168 MB / 449.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.2803, allocations: 0.5377 MB / 450.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/0.2881, allocations: 7.86 MB / 458.2 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.2891, allocations: 1.288 MB / 459.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009904/0.2901, allocations: 0.4927 MB / 460 MB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009382/0.2911, allocations: 0.623 MB / 460.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2911, allocations: 0 / 460.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of Templates: time 0.04702/0.3381, allocations: 36.29 MB / 496.9 MB, free: 15.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.935289532877505]