Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007187/0.0007187, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001732, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006738/0.0006738, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009112/0.001585, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9055/0.9055, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08278/0.9883, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.686e-06/1.001e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008315/0.008325, allocations: 11.27 MB / 256.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006362/0.01469, allocations: 4.451 MB / 260.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.01589, allocations: 103.4 kB / 261 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.01895, allocations: 2.927 MB / 264 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.02183, allocations: 2.033 MB / 266 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.02314, allocations: 1.072 MB / 267.1 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004297/0.02743, allocations: 5.798 MB / 272.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1301/0.1576, allocations: 3.32 MB / 276.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/0.1627, allocations: 3.378 MB / 279.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.1659, allocations: 2.488 MB / 282.1 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006315/0.1665, allocations: 375.6 kB / 282.4 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.1682, allocations: 1.226 MB / 283.7 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.1696, allocations: 2.01 MB / 285.7 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.1706, allocations: 1.133 MB / 286.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003108/0.1737, allocations: 4.627 MB / 291.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.1737, allocations: 0.5 kB / 291.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1737, allocations: 0.7188 kB / 291.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.029e-05/0.1738, allocations: 0 / 291.4 MB, free: 1.816 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.004599/0.1784, allocations: 5.827 MB / 297.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.1784, allocations: 13.56 kB / 297.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/0.1823, allocations: 1.324 MB / 298.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.1847, allocations: 2.318 MB / 300.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1848, allocations: 237.6 kB / 301.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.1852, allocations: 325.1 kB / 301.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004606/0.1898, allocations: 4.891 MB / 306.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.91e-05/0.1898, allocations: 54.95 kB / 306.4 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/0.1901, allocations: 154.5 kB / 306.5 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001379/0.1915, allocations: 1.534 MB / 308.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.1954, allocations: 2.411 MB / 310.5 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01859/0.214, allocations: 29.68 MB / 340.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.2167, allocations: 1.326 MB / 341.5 MB, free: 6.004 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.2171, allocations: 321 kB / 341.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004103/0.2212, allocations: 3.419 MB / 345.2 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.2213, allocations: 55 kB / 345.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 2.695e-06/0.2213, allocations: 0 / 345.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.01312/0.2344, allocations: 5.896 MB / 351.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2344, allocations: 145.5 kB / 351.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.2368, allocations: 3.331 MB / 354.7 MB, free: 9.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/0.2368, allocations: 45.7 kB / 354.7 MB, free: 9.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.238, allocations: 3.066 MB / 357.8 MB, free: 6.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.2384, allocations: 0.595 MB / 358.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008964/0.2393, allocations: 1.139 MB / 359.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.2393, allocations: 305.1 kB / 359.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.2404, allocations: 0.7262 MB / 360.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.2429, allocations: 4.356 MB / 364.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/0.2468, allocations: 5.93 MB / 370.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.302e-05/0.2468, allocations: 36 kB / 370.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.004241/0.251, allocations: 4.231 MB / 375.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.2511, allocations: 60 kB / 375.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.99e-05/0.2512, allocations: 140 kB / 375.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.2524, allocations: 0.6599 MB / 375.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.2544, allocations: 1.443 MB / 377.4 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.2584, allocations: 5.355 MB / 382.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.2602, allocations: 274.4 kB / 383 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.2605, allocations: 312 kB / 383.3 MB, free: 9.938 MB / 362.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.0009304/0.2614, allocations: 0.5951 MB / 383.9 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.2617, allocations: 221.9 kB / 384.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.2627, allocations: 0.8529 MB / 385 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.2627, allocations: 12 kB / 385 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2627, allocations: 4 kB / 385 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.2627, allocations: 3.984 kB / 385 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/0.2669, allocations: 3.984 MB / 389 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.2669, allocations: 16 kB / 389 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.2674, allocations: 227.7 kB / 389.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.2676, allocations: 329.5 kB / 389.5 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007028/0.2683, allocations: 418.8 kB / 389.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.2684, allocations: 32 kB / 390 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.2697, allocations: 1.912 MB / 391.9 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.2697, allocations: 11.94 kB / 391.9 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.2711, allocations: 1.78 MB / 393.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.2713, allocations: 35.98 kB / 393.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.2719, allocations: 39.98 kB / 393.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.2721, allocations: 104.2 kB / 393.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.2722, allocations: 43.98 kB / 393.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009156/0.2731, allocations: 1.244 MB / 395.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2731, allocations: 0 / 395.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002404/0.2755, allocations: 1.062 MB / 396.2 MB, free: 13.03 MB / 378.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.0002796/0.2758, allocations: 171.9 kB / 396.4 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.2782, allocations: 2.845 MB / 399.2 MB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001572/0.2783, allocations: 112.7 kB / 399.3 MB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.2793, allocations: 1.038 MB / 400.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/0.2824, allocations: 3.591 MB / 403.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.2959, allocations: 7.81 MB / 411.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.297, allocations: 1.26 MB / 413 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.2982, allocations: 496.1 kB / 413.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008564/0.299, allocations: 0.5636 MB / 414.1 MB, free: 10.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2991, allocations: 0 / 414.1 MB, free: 10.37 MB / 394.7 MB Notification: Performance of Templates: time 0.1629/0.4619, allocations: 34.95 MB / 449 MB, free: 105.6 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3340561790391803]