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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 113.3 kB / 17.28 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 189.3 kB / 18.19 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 224 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 44.16 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08819, allocations: 46.63 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04461/0.1328, allocations: 50.78 MB / 377.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2008/0.3337, allocations: 10.81 MB / 388.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009264/0.343, allocations: 223.8 kB / 388.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005531/0.3486, allocations: 2.785 MB / 391.4 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.354, allocations: 1.898 MB / 393.3 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.3563, allocations: 0.9879 MB / 394.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007273/0.3636, allocations: 5.572 MB / 399.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004093/0.3677, allocations: 4.247 MB / 404.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.3706, allocations: 1.804 MB / 405.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.3734, allocations: 2.661 MB / 408.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005953/0.374, allocations: 383.3 kB / 408.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.3759, allocations: 1.269 MB / 410.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.3773, allocations: 2.226 MB / 412.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.3795, allocations: 2.497 MB / 414.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007589/0.3871, allocations: 7.813 MB / 422.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3871, allocations: 3.984 kB / 422.7 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3871, allocations: 0 / 422.7 MB, free: 7.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001531/0.3873, allocations: 0 / 422.7 MB, free: 7.023 MB / 334.1 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.01049/0.3978, allocations: 5.372 MB / 428.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3978, allocations: 8.031 kB / 428.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02563/0.4235, allocations: 3.195 MB / 431.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008041/0.4315, allocations: 3.675 MB / 435 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.4317, allocations: 252.1 kB / 435.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008174/0.4326, allocations: 341.3 kB / 435.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.4491, allocations: 10.35 MB / 445.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.4493, allocations: 47.5 kB / 446 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003958/0.4497, allocations: 157.4 kB / 446.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003426/0.4531, allocations: 2.028 MB / 448.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/0.4711, allocations: 8.898 MB / 457 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04681/0.518, allocations: 39.82 MB / 496.9 MB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008743/0.5268, allocations: 4.072 MB / 0.4892 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002838/0.5296, allocations: 2.234 MB / 0.4914 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/0.5303, allocations: 0.6543 MB / 0.492 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.5304, allocations: 55.5 kB / 0.4921 GB, free: 4.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 3.897e-06/0.5304, allocations: 0 / 0.4921 GB, free: 4.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.05903/0.5894, allocations: 22.94 MB / 0.5145 GB, free: 13.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.5895, allocations: 252.6 kB / 0.5147 GB, free: 12.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/0.5948, allocations: 4.271 MB / 0.5189 GB, free: 8.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/0.5952, allocations: 55.89 kB / 0.5189 GB, free: 8.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.5973, allocations: 3.193 MB / 0.522 GB, free: 5.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008696/0.5981, allocations: 0.7982 MB / 0.5228 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/0.5998, allocations: 1.284 MB / 0.5241 GB, free: 3.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5999, allocations: 309.1 kB / 0.5244 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/0.6034, allocations: 2.554 MB / 0.5269 GB, free: 392 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005908/0.6094, allocations: 6.126 MB / 0.5329 GB, free: 8.492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.158/0.7674, allocations: 9.298 MB / 0.5419 GB, free: 171.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.7676, allocations: 35.56 kB / 0.542 GB, free: 171.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.03165/0.7993, allocations: 10.76 MB / 0.5525 GB, free: 169 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.7994, allocations: 58.81 kB / 0.5525 GB, free: 169 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/0.7996, allocations: 125.8 kB / 0.5526 GB, free: 169 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007974/0.8076, allocations: 2.626 MB / 0.5552 GB, free: 168.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/0.8114, allocations: 1.355 MB / 0.5565 GB, free: 168.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.8303, allocations: 18.59 MB / 0.5747 GB, free: 158.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/0.8346, allocations: 368.3 kB / 0.575 GB, free: 158.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007397/0.8353, allocations: 373.8 kB / 0.5754 GB, free: 158.6 MB / 462.1 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.003288/0.8386, allocations: 2.227 MB / 0.5776 GB, free: 156.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008253/0.8395, allocations: 379.1 kB / 0.5779 GB, free: 156.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008447/0.8479, allocations: 5.154 MB / 0.583 GB, free: 151.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/0.848, allocations: 27.67 kB / 0.583 GB, free: 151.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.848, allocations: 8 kB / 0.583 GB, free: 151.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.848, allocations: 7.969 kB / 0.583 GB, free: 151.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.864, allocations: 11.1 MB / 0.5939 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.8641, allocations: 4 kB / 0.5939 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.8654, allocations: 303.5 kB / 0.5941 GB, free: 140.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004586/0.87, allocations: 1.862 MB / 0.596 GB, free: 138.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.8702, allocations: 34.88 kB / 0.596 GB, free: 138.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.8809, allocations: 10.39 MB / 0.6061 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.881, allocations: 4 kB / 0.6061 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.8921, allocations: 8.333 MB / 0.6143 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.8937, allocations: 0.7733 MB / 0.615 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007912/0.8945, allocations: 36 kB / 0.6151 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.8965, allocations: 151.1 kB / 0.6152 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004355/0.8969, allocations: 117.1 kB / 0.6153 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.8971, allocations: 55.98 kB / 0.6154 GB, free: 118.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003959/0.9011, allocations: 2.684 MB / 0.618 GB, free: 115.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9011, allocations: 3.938 kB / 0.618 GB, free: 115.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005735/0.9068, allocations: 1.204 MB / 0.6192 GB, free: 114.4 MB / 462.1 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.0005713/0.9074, allocations: 184.8 kB / 0.6194 GB, free: 114.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01124/0.9187, allocations: 8.028 MB / 0.6272 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.9187, allocations: 0 / 0.6272 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.9217, allocations: 2.238 MB / 0.6294 GB, free: 103.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.9252, allocations: 0.565 MB / 0.6299 GB, free: 103.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.9398, allocations: 12.98 MB / 0.6426 GB, free: 90.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003342/0.9432, allocations: 3.527 MB / 0.6461 GB, free: 86.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004033/0.9472, allocations: 1.916 MB / 0.6479 GB, free: 84.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/0.948, allocations: 271.3 kB / 0.6482 GB, free: 84.62 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.948, allocations: 0 / 0.6482 GB, free: 84.62 MB / 462.1 MB Notification: Performance of Templates: time 0.08366/1.032, allocations: 52.92 MB / 0.6999 GB, free: 31.69 MB / 462.1 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/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