Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009656/0.0009656, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.0009877/0.0009877, allocations: 165 kB / 24.82 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9451/0.9451, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.215e-05, allocations: 2.312 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008304/0.008317, allocations: 11.13 MB / 284.5 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005441/0.01376, allocations: 4.242 MB / 288.8 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/0.0143, allocations: 99.38 kB / 288.9 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1158/0.1301, allocations: 3.021 MB / 291.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.1342, allocations: 2.061 MB / 294 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1357, allocations: 1.149 MB / 295.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005875/0.1416, allocations: 6.339 MB / 301.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/0.1449, allocations: 3.701 MB / 305.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.148, allocations: 3.632 MB / 308.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.1498, allocations: 2.615 MB / 311.4 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.1501, allocations: 372.6 kB / 311.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1513, allocations: 1.191 MB / 313 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009412/0.1522, allocations: 2.246 MB / 315.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007846/0.153, allocations: 1.397 MB / 316.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00285/0.1558, allocations: 5.024 MB / 321.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1559, allocations: 0 / 321.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1559, allocations: 0 / 321.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.1559, allocations: 4 kB / 321.6 MB, free: 15.47 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.005613/0.1615, allocations: 5.435 MB / 327.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1615, allocations: 12.03 kB / 327.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.1718, allocations: 2.719 MB / 329.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.1752, allocations: 2.477 MB / 332.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1753, allocations: 246.2 kB / 332.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/0.1756, allocations: 322.3 kB / 332.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.1807, allocations: 5.418 MB / 338.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.289e-05/0.1808, allocations: 50.19 kB / 338.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.181, allocations: 152.1 kB / 338.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001526/0.1826, allocations: 1.631 MB / 340.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.1858, allocations: 2.362 MB / 342.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02474/0.2105, allocations: 41 MB / 383.4 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.2138, allocations: 1.334 MB / 384.8 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.2142, allocations: 389.8 kB / 385.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004107/0.2183, allocations: 3.685 MB / 388.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.2183, allocations: 60.34 kB / 388.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 3.196e-06/0.2184, allocations: 0 / 388.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.01533/0.2337, allocations: 6.641 MB / 395.5 MB, free: 5.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2338, allocations: 252.3 kB / 395.8 MB, free: 4.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/0.2376, allocations: 3.71 MB / 399.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/0.2376, allocations: 41.7 kB / 399.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.2398, allocations: 3.516 MB / 403 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.2402, allocations: 0.6283 MB / 403.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/0.2416, allocations: 1.315 MB / 405 MB, free: 11.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003477/0.242, allocations: 480.8 kB / 405.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009992/0.243, allocations: 0.5502 MB / 406 MB, free: 10.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004364/0.2473, allocations: 6.112 MB / 412.1 MB, free: 1.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005429/0.2527, allocations: 7.172 MB / 419.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-05/0.2528, allocations: 36 kB / 419.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.007038/0.2598, allocations: 4.945 MB / 424.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.2599, allocations: 64 kB / 424.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.26, allocations: 131.9 kB / 424.5 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.2617, allocations: 0.6643 MB / 425.1 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.2643, allocations: 1.291 MB / 426.4 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006028/0.2703, allocations: 7.111 MB / 433.5 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.273, allocations: 271.7 kB / 433.8 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/0.2733, allocations: 312 kB / 434.1 MB, free: 9.125 MB / 394.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.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.001065/0.2744, allocations: 0.6341 MB / 434.7 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/0.2748, allocations: 385.6 kB / 435.1 MB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.2763, allocations: 0.9591 MB / 436.1 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.2764, allocations: 19.98 kB / 436.1 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2764, allocations: 4 kB / 436.1 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.2764, allocations: 11.97 kB / 436.1 MB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006954/0.2833, allocations: 4.679 MB / 440.8 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.2833, allocations: 8.906 kB / 440.8 MB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/0.2839, allocations: 207.6 kB / 441 MB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007066/0.2846, allocations: 231.4 kB / 441.2 MB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.2847, allocations: 36 kB / 441.3 MB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1364/0.4211, allocations: 2.459 MB / 443.7 MB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.4211, allocations: 12.59 kB / 443.7 MB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.4236, allocations: 2.098 MB / 445.8 MB, free: 119.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/0.4243, allocations: 352.2 kB / 446.2 MB, free: 119.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.4245, allocations: 42.22 kB / 446.2 MB, free: 119.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/0.4252, allocations: 33.95 kB / 446.2 MB, free: 119.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.4254, allocations: 102.6 kB / 446.3 MB, free: 119.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.4254, allocations: 40.98 kB / 446.4 MB, free: 119.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001925/0.4273, allocations: 1.518 MB / 447.9 MB, free: 119.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4273, allocations: 1.062 kB / 447.9 MB, free: 119.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003166/0.4305, allocations: 1.065 MB / 449 MB, free: 119.1 MB / 394.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.0002653/0.4308, allocations: 184.5 kB / 449.1 MB, free: 119 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.4341, allocations: 3.093 MB / 452.2 MB, free: 118.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4341, allocations: 1.094 kB / 452.2 MB, free: 118.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.4347, allocations: 0.609 MB / 452.8 MB, free: 118.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.4362, allocations: 0.5163 MB / 453.4 MB, free: 118.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008601/0.4448, allocations: 7.742 MB / 461.1 MB, free: 114.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/0.4458, allocations: 1.27 MB / 462.4 MB, free: 114.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001076/0.4468, allocations: 0.4944 MB / 462.9 MB, free: 114.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/0.4476, allocations: 0.6165 MB / 463.5 MB, free: 114.5 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4476, allocations: 0 / 463.5 MB, free: 114.5 MB / 394.7 MB Notification: Performance of Templates: time 0.0413/0.4889, allocations: 35.28 MB / 498.8 MB, free: 87 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.8729070788249373]