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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008637/0.0008638, allocations: 90.48 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.67e-05, allocations: 4 kB / 350.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 51.48 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/0.4255, allocations: 99.16 MB / 0.4894 GB, free: 6.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4257, allocations: 87.08 kB / 0.4895 GB, free: 6.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4648/0.8906, allocations: 95.94 MB / 0.5832 GB, free: 77.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.8906, allocations: 0 / 0.5832 GB, free: 77.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001753/0.8908, allocations: 88.2 kB / 0.5833 GB, free: 77.04 MB / 442.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.01045/0.9013, allocations: 4.45 MB / 0.5876 GB, free: 75.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.9013, allocations: 11.94 kB / 0.5877 GB, free: 75.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02408/0.9254, allocations: 6.71 MB / 0.5942 GB, free: 74.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.9383, allocations: 5.16 MB / 0.5992 GB, free: 74.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.9386, allocations: 322.2 kB / 0.5996 GB, free: 74.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.94, allocations: 434.7 kB / 0.6 GB, free: 74.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/0.958, allocations: 10.14 MB / 0.6099 GB, free: 71.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.9582, allocations: 64.17 kB / 0.6099 GB, free: 71.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005939/0.9588, allocations: 203 kB / 0.6101 GB, free: 71.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001415/0.9602, allocations: 0.9755 MB / 0.6111 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/0.9804, allocations: 8.272 MB / 0.6191 GB, free: 71.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04813/1.029, allocations: 45.15 MB / 0.6632 GB, free: 40.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/1.036, allocations: 3.868 MB / 0.667 GB, free: 39.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/1.039, allocations: 1.967 MB / 0.6689 GB, free: 38.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/1.039, allocations: 0.6582 MB / 0.6696 GB, free: 37.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.039, allocations: 50.59 kB / 0.6696 GB, free: 37.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 5.34e-06/1.039, allocations: 0 / 0.6696 GB, free: 37.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.04718/1.087, allocations: 18.45 MB / 0.6876 GB, free: 31.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/1.087, allocations: 257.2 kB / 0.6879 GB, free: 30.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005412/1.092, allocations: 3.635 MB / 0.6914 GB, free: 29.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004481/1.093, allocations: 52.39 kB / 0.6915 GB, free: 29.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001815/1.094, allocations: 3.174 MB / 0.6946 GB, free: 26.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009042/1.095, allocations: 0.7697 MB / 0.6953 GB, free: 26.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/1.096, allocations: 113.2 kB / 0.6955 GB, free: 26.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000274/1.096, allocations: 0.5509 MB / 0.696 GB, free: 25.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/1.099, allocations: 2.15 MB / 0.6981 GB, free: 25.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003898/1.102, allocations: 5.615 MB / 0.7036 GB, free: 19.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/1.106, allocations: 3.459 MB / 0.7069 GB, free: 16.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.331e-05/1.106, allocations: 36 kB / 0.707 GB, free: 16.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01507/1.122, allocations: 9.251 MB / 0.716 GB, free: 8.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/1.122, allocations: 60 kB / 0.7161 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.122, allocations: 123.3 kB / 0.7162 GB, free: 8.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005282/1.127, allocations: 1.967 MB / 0.7181 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003832/1.131, allocations: 1.255 MB / 0.7193 GB, free: 5.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/1.15, allocations: 14.97 MB / 0.734 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005331/1.155, allocations: 339.2 kB / 0.7343 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.156, allocations: 358.1 kB / 0.7346 GB, free: 7.883 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (675): * Single equations (assignments): 669 * 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.001207/1.158, allocations: 0.544 MB / 0.7352 GB, free: 7.344 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009224/1.159, allocations: 383.1 kB / 0.7355 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00812/1.167, allocations: 4.043 MB / 0.7395 GB, free: 3.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-05/1.167, allocations: 20 kB / 0.7395 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.167, allocations: 8 kB / 0.7395 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/1.167, allocations: 8.859 kB / 0.7395 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3261/1.493, allocations: 9.7 MB / 0.749 GB, free: 81.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.493, allocations: 0 / 0.749 GB, free: 81.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.494, allocations: 284.3 kB / 0.7492 GB, free: 81.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/1.498, allocations: 1.213 MB / 0.7504 GB, free: 81.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/1.498, allocations: 41.52 kB / 0.7505 GB, free: 81.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/1.508, allocations: 7.548 MB / 0.7578 GB, free: 80.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.508, allocations: 4.078 kB / 0.7578 GB, free: 80.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.519, allocations: 6.988 MB / 0.7647 GB, free: 79.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.521, allocations: 426.2 kB / 0.7651 GB, free: 79.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006341/1.521, allocations: 31.94 kB / 0.7651 GB, free: 79.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.523, allocations: 114 kB / 0.7652 GB, free: 79.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/1.523, allocations: 123.6 kB / 0.7653 GB, free: 79.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.523, allocations: 52.64 kB / 0.7654 GB, free: 79.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004/1.527, allocations: 2.55 MB / 0.7679 GB, free: 79.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.527, allocations: 0 / 0.7679 GB, free: 79.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005885/1.533, allocations: 1.115 MB / 0.769 GB, free: 79.66 MB / 458.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 (147): * Single equations (assignments): 143 * 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.0005155/1.534, allocations: 180.9 kB / 0.7691 GB, free: 79.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01018/1.544, allocations: 5.806 MB / 0.7748 GB, free: 79.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.544, allocations: 0.875 kB / 0.7748 GB, free: 79.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003783/1.548, allocations: 2.023 MB / 0.7768 GB, free: 79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/1.552, allocations: 0.5253 MB / 0.7773 GB, free: 78.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.572, allocations: 8.325 MB / 0.7854 GB, free: 77.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004652/1.576, allocations: 3.532 MB / 0.7889 GB, free: 76.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005247/1.582, allocations: 1.885 MB / 0.7907 GB, free: 76.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/1.583, allocations: 252.9 kB / 0.791 GB, free: 76.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/1.583, allocations: 0 / 0.791 GB, free: 76.58 MB / 458.7 MB Notification: Performance of Templates: time 0.07606/1.659, allocations: 44.96 MB / 0.8349 GB, free: 72.06 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches