Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002181/0.002181, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.973/1.973, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.0011/0.0011, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.02e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09506, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5334, allocations: 97.6 MB / 466.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.5338, allocations: 93.06 kB / 466.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6947/1.228, allocations: 94.86 MB / 0.5485 GB, free: 91.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.229, allocations: 1.094 kB / 0.5485 GB, free: 91.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003899/1.229, allocations: 88.28 kB / 0.5486 GB, free: 91.49 MB / 410.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.02002/1.249, allocations: 4.503 MB / 0.553 GB, free: 89.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.249, allocations: 11.69 kB / 0.553 GB, free: 89.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04865/1.298, allocations: 6.725 MB / 0.5595 GB, free: 89.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0219/1.32, allocations: 6.185 MB / 0.5656 GB, free: 88.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/1.32, allocations: 329 kB / 0.5659 GB, free: 88.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/1.322, allocations: 443.1 kB / 0.5663 GB, free: 88.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/1.351, allocations: 10.44 MB / 0.5765 GB, free: 85.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003202/1.351, allocations: 64.03 kB / 0.5766 GB, free: 85.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001636/1.353, allocations: 209.9 kB / 0.5768 GB, free: 85.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/1.355, allocations: 1.012 MB / 0.5778 GB, free: 85.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02641/1.381, allocations: 8.57 MB / 0.5861 GB, free: 82.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0715/1.453, allocations: 46.15 MB / 0.6312 GB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/1.467, allocations: 3.98 MB / 0.6351 GB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/1.472, allocations: 2.011 MB / 0.637 GB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009461/1.473, allocations: 0.6553 MB / 0.6377 GB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/1.473, allocations: 51.56 kB / 0.6377 GB, free: 37.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 6.563e-06/1.473, allocations: 0 / 0.6377 GB, free: 37.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.08916/1.562, allocations: 18.87 MB / 0.6562 GB, free: 20.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.562, allocations: 256.6 kB / 0.6564 GB, free: 19.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009383/1.571, allocations: 3.719 MB / 0.66 GB, free: 16.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006601/1.572, allocations: 57.7 kB / 0.6601 GB, free: 16.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002845/1.575, allocations: 3.137 MB / 0.6632 GB, free: 12.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.576, allocations: 0.8052 MB / 0.6639 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008478/1.577, allocations: 116 kB / 0.6641 GB, free: 11.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004568/1.578, allocations: 0.5629 MB / 0.6646 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005868/1.584, allocations: 2.21 MB / 0.6668 GB, free: 9.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008262/1.592, allocations: 5.764 MB / 0.6724 GB, free: 1.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008814/1.601, allocations: 3.544 MB / 0.6759 GB, free: 14.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/1.601, allocations: 36 kB / 0.6759 GB, free: 14.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.03242/1.633, allocations: 9.296 MB / 0.685 GB, free: 4.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.634, allocations: 56 kB / 0.685 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000218/1.634, allocations: 124.9 kB / 0.6851 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/1.645, allocations: 1.977 MB / 0.6871 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008461/1.653, allocations: 1.302 MB / 0.6883 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3473/2.001, allocations: 14.96 MB / 0.7029 GB, free: 88.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007349/2.008, allocations: 339.5 kB / 0.7033 GB, free: 88.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001579/2.01, allocations: 365.7 kB / 0.7036 GB, free: 88.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 691 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001717/2.011, allocations: 0.5537 MB / 0.7042 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/2.013, allocations: 390.6 kB / 0.7045 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/2.026, allocations: 4.164 MB / 0.7086 GB, free: 87.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.132e-05/2.027, allocations: 24.5 kB / 0.7086 GB, free: 87.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/2.027, allocations: 11.03 kB / 0.7086 GB, free: 87.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-05/2.027, allocations: 9.797 kB / 0.7086 GB, free: 87.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02982/2.057, allocations: 9.97 MB / 0.7184 GB, free: 85.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/2.057, allocations: 3.281 kB / 0.7184 GB, free: 85.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00465/2.061, allocations: 303.1 kB / 0.7187 GB, free: 85.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00976/2.071, allocations: 1.215 MB / 0.7199 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006972/2.072, allocations: 39.66 kB / 0.7199 GB, free: 85.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02639/2.098, allocations: 7.54 MB / 0.7273 GB, free: 82.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/2.098, allocations: 3.594 kB / 0.7273 GB, free: 82.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02873/2.127, allocations: 7.17 MB / 0.7343 GB, free: 79.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004096/2.131, allocations: 0.725 MB / 0.735 GB, free: 78.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001957/2.133, allocations: 36.91 kB / 0.735 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005688/2.139, allocations: 119.9 kB / 0.7351 GB, free: 78.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/2.14, allocations: 123.4 kB / 0.7352 GB, free: 78.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003926/2.141, allocations: 57.14 kB / 0.7353 GB, free: 78.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01071/2.152, allocations: 2.614 MB / 0.7378 GB, free: 77.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.943e-06/2.152, allocations: 0 / 0.7378 GB, free: 77.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01269/2.164, allocations: 1.139 MB / 0.739 GB, free: 77.84 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/2.166, allocations: 180 kB / 0.7391 GB, free: 77.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02184/2.188, allocations: 5.937 MB / 0.7449 GB, free: 75.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/2.188, allocations: 2.375 kB / 0.7449 GB, free: 75.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008809/2.197, allocations: 2.074 MB / 0.747 GB, free: 74.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007115/2.204, allocations: 0.5383 MB / 0.7475 GB, free: 74.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04024/2.244, allocations: 9.114 MB / 0.7564 GB, free: 71.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01201/2.256, allocations: 3.629 MB / 0.7599 GB, free: 70.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/2.259, allocations: 307 kB / 0.7602 GB, free: 70.01 MB / 426.7 MB Notification: Performance of SimCode: time 2.735e-06/2.259, allocations: 0 / 0.7602 GB, free: 70.01 MB / 426.7 MB Notification: Performance of Templates: time 0.5033/2.762, allocations: 99.37 MB / 0.8573 GB, free: 104.5 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches