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.0009262/0.0009262, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009854/0.0009854, allocations: 137.1 kB / 24.97 MB, free: 8.855 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.901/0.901, allocations: 173.4 MB / 201.5 MB, free: 9.281 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.162e-06/1.162e-06, allocations: 0 / 268.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.606e-05, allocations: 10.19 kB / 268.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008926/0.008942, allocations: 11.57 MB / 279.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006429/0.01537, allocations: 4.269 MB / 283.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.01658, allocations: 95.44 kB / 284 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.01961, allocations: 3.107 MB / 287.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.02232, allocations: 2.107 MB / 289.2 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.02365, allocations: 1.158 MB / 290.4 MB, free: 280 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1088/0.1325, allocations: 6.212 MB / 296.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003964/0.1364, allocations: 3.723 MB / 300.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.1395, allocations: 2.684 MB / 303 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.1415, allocations: 2.665 MB / 305.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003723/0.1418, allocations: 377.3 kB / 306 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.143, allocations: 1.214 MB / 307.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009837/0.1439, allocations: 2.296 MB / 309.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.145, allocations: 1.425 MB / 311 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.1481, allocations: 5.124 MB / 316.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1481, allocations: 4 kB / 316.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1481, allocations: 0 / 316.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.817e-05/0.1481, allocations: 3.938 kB / 316.1 MB, free: 7.418 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.0051/0.1532, allocations: 5.747 MB / 321.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1533, allocations: 12.92 kB / 321.9 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.1658, allocations: 3.719 MB / 325.6 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/0.1701, allocations: 3.205 MB / 328.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1702, allocations: 237.3 kB / 329 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.1706, allocations: 327.3 kB / 329.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006812/0.1774, allocations: 6.006 MB / 335.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.064e-05/0.1775, allocations: 41.38 kB / 335.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/0.1778, allocations: 152.8 kB / 335.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001983/0.1798, allocations: 1.961 MB / 337.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006119/0.1859, allocations: 3.225 MB / 340.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02645/0.2123, allocations: 41.37 MB / 382.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.2162, allocations: 1.749 MB / 383.8 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008244/0.217, allocations: 0.6577 MB / 384.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.2173, allocations: 203 kB / 384.7 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2174, allocations: 54.23 kB / 384.8 MB, free: 1.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=166): time 3.126e-06/0.2174, allocations: 0 / 384.8 MB, free: 1.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=201): time 0.03111/0.2485, allocations: 15.98 MB / 400.7 MB, free: 1.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.704e-05/0.2486, allocations: 252.1 kB / 401 MB, free: 1.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.2528, allocations: 3.613 MB / 404.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.2529, allocations: 53.7 kB / 404.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002107/0.255, allocations: 3.4 MB / 408 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006893/0.2557, allocations: 0.83 MB / 408.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.2572, allocations: 1.33 MB / 410.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2573, allocations: 480.7 kB / 410.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.259, allocations: 0.8044 MB / 411.5 MB, free: 7.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/0.2635, allocations: 6.06 MB / 417.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007157/0.2707, allocations: 7.477 MB / 425 MB, free: 5.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.308e-05/0.2707, allocations: 36 kB / 425 MB, free: 5.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.133/0.4038, allocations: 6.763 MB / 431.8 MB, free: 96.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.4039, allocations: 59.86 kB / 431.9 MB, free: 96.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/0.404, allocations: 121.2 kB / 432 MB, free: 96.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004581/0.4085, allocations: 1.839 MB / 433.8 MB, free: 96.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.4109, allocations: 1.315 MB / 435.1 MB, free: 96.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00902/0.4199, allocations: 10.38 MB / 445.5 MB, free: 90.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.4223, allocations: 421.9 kB / 445.9 MB, free: 90.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/0.4226, allocations: 358.8 kB / 446.3 MB, free: 90.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (709): * Single equations (assignments): 703 * 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 {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.4237, allocations: 0.6463 MB / 446.9 MB, free: 90.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00041/0.4241, allocations: 410.7 kB / 447.3 MB, free: 90.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.4279, allocations: 2.644 MB / 450 MB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4279, allocations: 23.59 kB / 450 MB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.4279, allocations: 7.969 kB / 450 MB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.428, allocations: 9.5 kB / 450 MB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008291/0.4362, allocations: 6.921 MB / 456.9 MB, free: 89.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.4363, allocations: 3.469 kB / 456.9 MB, free: 89.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.4369, allocations: 288.7 kB / 457.2 MB, free: 89.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/0.4395, allocations: 1.213 MB / 458.4 MB, free: 89.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.4396, allocations: 29.81 kB / 458.5 MB, free: 89.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004502/0.4441, allocations: 4.233 MB / 462.7 MB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4441, allocations: 5.391 kB / 462.7 MB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004836/0.449, allocations: 3.794 MB / 466.5 MB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.4493, allocations: 364.8 kB / 466.9 MB, free: 86.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.4496, allocations: 37.22 kB / 466.9 MB, free: 86.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009367/0.4505, allocations: 200.4 kB / 467.1 MB, free: 86.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.4508, allocations: 124 kB / 467.2 MB, free: 86.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.4509, allocations: 53 kB / 467.3 MB, free: 86.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.4523, allocations: 1.603 MB / 468.9 MB, free: 86.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4523, allocations: 0 / 468.9 MB, free: 86.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002853/0.4551, allocations: 1.34 MB / 470.2 MB, free: 86.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,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 (147): * Single equations (assignments): 143 * 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,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003269/0.4554, allocations: 189.5 kB / 470.4 MB, free: 86.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.4593, allocations: 4.04 MB / 474.4 MB, free: 82.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4593, allocations: 4 kB / 474.4 MB, free: 82.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.4603, allocations: 1.122 MB / 475.6 MB, free: 81.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.4618, allocations: 0.5289 MB / 476.1 MB, free: 80.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007828/0.4697, allocations: 8.382 MB / 484.5 MB, free: 72.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/0.4705, allocations: 1.338 MB / 485.8 MB, free: 71.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001879/0.4724, allocations: 1.58 MB / 487.4 MB, free: 69.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.4728, allocations: 240.4 kB / 487.6 MB, free: 69.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.684e-06/0.4728, allocations: 0 / 487.6 MB, free: 69.31 MB / 378.7 MB Notification: Performance of Templates: time 0.04655/0.5194, allocations: 48.3 MB / 0.5234 GB, free: 21.62 MB / 378.7 MB " [Timeout remaining time 659] 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.9896540590561926]