Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009919/0.0009917, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.1 MB / 223.7 MB, free: 8.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 105.7 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007151/0.0007151, allocations: 35.94 kB / 327.2 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1803, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.03021/0.2105, allocations: 50.77 MB / 424.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.231, allocations: 10.92 MB / 435.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007989/0.2391, allocations: 227.4 kB / 435.7 MB, free: 3.406 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004766/0.2439, allocations: 2.879 MB / 438.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.2478, allocations: 1.91 MB / 440.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.2494, allocations: 0.975 MB / 441.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006865/0.2563, allocations: 7.541 MB / 449 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003781/0.2601, allocations: 3.977 MB / 453 MB, free: 2.027 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.2617, allocations: 1.561 MB / 454.6 MB, free: 472 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.2643, allocations: 2.551 MB / 457.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004652/0.2648, allocations: 260 kB / 457.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.2666, allocations: 1.197 MB / 458.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.2682, allocations: 2.1 MB / 460.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.2701, allocations: 2.353 MB / 463 MB, free: 7.977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005705/0.2758, allocations: 7.644 MB / 470.7 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2758, allocations: 0 / 470.7 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2758, allocations: 0 / 470.7 MB, free: 316 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.298e-05/0.2759, allocations: 7.938 kB / 470.7 MB, free: 308 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.008595/0.2846, allocations: 5.369 MB / 476.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2846, allocations: 19.97 kB / 476.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02418/0.3088, allocations: 3.193 MB / 479.3 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008038/0.3169, allocations: 3.661 MB / 482.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.317, allocations: 250.2 kB / 483.2 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005474/0.3176, allocations: 339.7 kB / 483.5 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.3305, allocations: 10.34 MB / 493.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.175e-05/0.3306, allocations: 51.5 kB / 493.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/0.3309, allocations: 159.8 kB / 494.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002968/0.3339, allocations: 2.033 MB / 496.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1482/0.4821, allocations: 8.895 MB / 0.4931 GB, free: 106.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03448/0.5166, allocations: 39.83 MB / 0.532 GB, free: 75.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006254/0.5229, allocations: 4.061 MB / 0.536 GB, free: 70.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.5247, allocations: 2.238 MB / 0.5382 GB, free: 68.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/0.5252, allocations: 0.6459 MB / 0.5388 GB, free: 67.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5252, allocations: 63.5 kB / 0.5389 GB, free: 67.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=175): time 3.767e-06/0.5252, allocations: 0 / 0.5389 GB, free: 67.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.04561/0.5708, allocations: 22.95 MB / 0.5613 GB, free: 44.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.5709, allocations: 252.6 kB / 0.5615 GB, free: 44.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/0.5747, allocations: 4.271 MB / 0.5657 GB, free: 40.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.5749, allocations: 57.7 kB / 0.5658 GB, free: 40.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.576, allocations: 3.192 MB / 0.5689 GB, free: 36.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/0.5764, allocations: 0.808 MB / 0.5697 GB, free: 36.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.5776, allocations: 1.284 MB / 0.5709 GB, free: 34.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.321e-05/0.5777, allocations: 308.3 kB / 0.5712 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.5802, allocations: 2.554 MB / 0.5737 GB, free: 32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/0.5838, allocations: 6.126 MB / 0.5797 GB, free: 24.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006825/0.5907, allocations: 9.299 MB / 0.5888 GB, free: 13.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.688e-05/0.5907, allocations: 36 kB / 0.5888 GB, free: 13.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01399/0.6047, allocations: 10.76 MB / 0.5993 GB, free: 2.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.6048, allocations: 56 kB / 0.5994 GB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-05/0.6049, allocations: 124 kB / 0.5995 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006072/0.6109, allocations: 2.617 MB / 0.602 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.6143, allocations: 1.353 MB / 0.6034 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/0.6346, allocations: 17.19 MB / 0.6202 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/0.6387, allocations: 379.4 kB / 0.6205 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005393/0.6392, allocations: 368 kB / 0.6209 GB, free: 11.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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 (731): * Single equations (assignments): 725 * 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002738/0.642, allocations: 2.224 MB / 0.623 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/0.6425, allocations: 383.1 kB / 0.6234 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008912/0.6514, allocations: 5.156 MB / 0.6284 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.6515, allocations: 27.98 kB / 0.6285 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.6515, allocations: 8 kB / 0.6285 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.6515, allocations: 7.969 kB / 0.6285 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.6685, allocations: 11.11 MB / 0.6393 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6686, allocations: 3.938 kB / 0.6393 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.6698, allocations: 304.6 kB / 0.6396 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004727/0.6746, allocations: 1.854 MB / 0.6414 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.6747, allocations: 39.98 kB / 0.6415 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1538/0.8285, allocations: 9.681 MB / 0.6509 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8285, allocations: 4.297 kB / 0.6509 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08718/0.9157, allocations: 60.95 MB / 0.7105 GB, free: 95.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.9171, allocations: 0.7738 MB / 0.7112 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/0.9174, allocations: 32.75 kB / 0.7112 GB, free: 94.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.9189, allocations: 135.8 kB / 0.7114 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.9193, allocations: 132.1 kB / 0.7115 GB, free: 94.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.9194, allocations: 55.98 kB / 0.7116 GB, free: 93.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00259/0.922, allocations: 2.687 MB / 0.7142 GB, free: 91.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.922, allocations: 0 / 0.7142 GB, free: 91.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004185/0.9262, allocations: 1.635 MB / 0.7158 GB, free: 89.64 MB / 426.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 (157): * Single equations (assignments): 153 * 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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003419/0.9266, allocations: 175.1 kB / 0.7159 GB, free: 89.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006839/0.9334, allocations: 6.645 MB / 0.7224 GB, free: 82.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.9334, allocations: 7.984 kB / 0.7224 GB, free: 82.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.9357, allocations: 2.238 MB / 0.7246 GB, free: 80.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.9379, allocations: 0.5265 MB / 0.7251 GB, free: 80.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.9513, allocations: 14.66 MB / 0.7395 GB, free: 65.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/0.9538, allocations: 3.61 MB / 0.743 GB, free: 61.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00367/0.9575, allocations: 1.955 MB / 0.7449 GB, free: 59.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/0.9582, allocations: 271.4 kB / 0.7451 GB, free: 59.61 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.9582, allocations: 0 / 0.7451 GB, free: 59.61 MB / 426.7 MB Notification: Performance of Templates: time 0.2089/1.167, allocations: 67.33 MB / 0.8109 GB, free: 140.6 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches