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.0009901/0.0009901, allocations: 178.6 kB / 16.41 MB, free: 5.73 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.846/1.846, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008064/0.0008066, allocations: 85.48 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3053, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.03583/0.3412, allocations: 46.01 MB / 420.6 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02795/0.3692, allocations: 10.37 MB / 430.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01344/0.3827, allocations: 227.4 kB / 431.2 MB, free: 8.102 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009219/0.392, allocations: 2.391 MB / 433.5 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02382/0.4158, allocations: 7.104 MB / 440.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004305/0.4202, allocations: 0.6904 MB / 441.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04116/0.4614, allocations: 34.14 MB / 475.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008959/0.4704, allocations: 4.691 MB / 480.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.4741, allocations: 1.436 MB / 481.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004145/0.4783, allocations: 2.212 MB / 483.8 MB, free: 3.285 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.4796, allocations: 156 kB / 484 MB, free: 3.133 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.4824, allocations: 0.944 MB / 484.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003/0.4855, allocations: 1.909 MB / 486.8 MB, free: 280 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002115/0.4876, allocations: 0.909 MB / 487.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007908/0.4955, allocations: 6.138 MB / 493.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4955, allocations: 0 / 493.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4956, allocations: 0 / 493.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003534/0.4959, allocations: 0 / 493.9 MB, free: 9.203 MB / 378.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.01258/0.5085, allocations: 4.484 MB / 498.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5086, allocations: 8.031 kB / 498.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02421/0.5328, allocations: 3.278 MB / 0.4899 GB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2275/0.7603, allocations: 3.596 MB / 0.4934 GB, free: 111.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.7606, allocations: 249 kB / 0.4936 GB, free: 111.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.7617, allocations: 333.7 kB / 0.494 GB, free: 111.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/0.7826, allocations: 10.35 MB / 0.5041 GB, free: 105.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/0.7828, allocations: 45 kB / 0.5041 GB, free: 105.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005908/0.7834, allocations: 161 kB / 0.5043 GB, free: 105.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004601/0.7881, allocations: 2.025 MB / 0.5062 GB, free: 104.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.8082, allocations: 8.882 MB / 0.5149 GB, free: 95.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03869/0.8469, allocations: 39.84 MB / 0.5538 GB, free: 55.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006956/0.8539, allocations: 4.047 MB / 0.5578 GB, free: 51.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.8559, allocations: 2.234 MB / 0.5599 GB, free: 48.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.8564, allocations: 0.6545 MB / 0.5606 GB, free: 48.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.8564, allocations: 55.56 kB / 0.5606 GB, free: 48.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=175): time 4.589e-06/0.8564, allocations: 112 / 0.5606 GB, free: 48.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.04869/0.9051, allocations: 22.93 MB / 0.583 GB, free: 24.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.9052, allocations: 256.6 kB / 0.5833 GB, free: 24.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/0.9094, allocations: 4.24 MB / 0.5874 GB, free: 20.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.9096, allocations: 57.7 kB / 0.5875 GB, free: 20.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.911, allocations: 3.192 MB / 0.5906 GB, free: 17.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.9116, allocations: 0.802 MB / 0.5914 GB, free: 16.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.9118, allocations: 139.9 kB / 0.5915 GB, free: 16.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.912, allocations: 0.5666 MB / 0.5921 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/0.9148, allocations: 2.526 MB / 0.5945 GB, free: 13.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/0.9187, allocations: 6.107 MB / 0.6005 GB, free: 5.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00384/0.9226, allocations: 3.847 MB / 0.6042 GB, free: 1.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-05/0.9226, allocations: 36 kB / 0.6043 GB, free: 1.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01659/0.9392, allocations: 10.7 MB / 0.6147 GB, free: 6.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.9393, allocations: 56.19 kB / 0.6148 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.733e-05/0.9394, allocations: 128 kB / 0.6149 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006752/0.9461, allocations: 2.614 MB / 0.6175 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/0.9498, allocations: 1.349 MB / 0.6188 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.9713, allocations: 17.27 MB / 0.6357 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/0.9757, allocations: 375.4 kB / 0.636 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/0.9762, allocations: 372 kB / 0.6364 GB, free: 20 kB / 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 (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,100.0%) 35,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.002964/0.9791, allocations: 2.232 MB / 0.6385 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005267/0.9797, allocations: 383 kB / 0.6389 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008701/0.9884, allocations: 5.145 MB / 0.6439 GB, free: 8.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.9884, allocations: 24 kB / 0.644 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.9884, allocations: 8 kB / 0.644 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.9885, allocations: 7.969 kB / 0.644 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2022/1.191, allocations: 11.1 MB / 0.6548 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.191, allocations: 3.938 kB / 0.6548 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.192, allocations: 306.5 kB / 0.6551 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004557/1.197, allocations: 1.847 MB / 0.6569 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/1.197, allocations: 36.59 kB / 0.657 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.209, allocations: 9.687 MB / 0.6664 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.209, allocations: 1.062 kB / 0.6664 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.22, allocations: 8.322 MB / 0.6745 GB, free: 132 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.221, allocations: 0.7771 MB / 0.6753 GB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/1.222, allocations: 35.42 kB / 0.6753 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.223, allocations: 146 kB / 0.6755 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.224, allocations: 117 kB / 0.6756 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.224, allocations: 52.5 kB / 0.6756 GB, free: 131.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003005/1.227, allocations: 2.667 MB / 0.6782 GB, free: 130.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.227, allocations: 0 / 0.6782 GB, free: 130.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003748/1.23, allocations: 1.218 MB / 0.6794 GB, free: 130.5 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 (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 {(3,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003487/1.231, allocations: 163.8 kB / 0.6796 GB, free: 130.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007088/1.238, allocations: 6.595 MB / 0.686 GB, free: 124.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.238, allocations: 0 / 0.686 GB, free: 124.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/1.24, allocations: 2.232 MB / 0.6882 GB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.243, allocations: 0.5262 MB / 0.6887 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.256, allocations: 12.94 MB / 0.7014 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002604/1.258, allocations: 3.5 MB / 0.7048 GB, free: 105.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/1.259, allocations: 303.4 kB / 0.7051 GB, free: 105.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/1.259, allocations: 0 / 0.7051 GB, free: 105.2 MB / 426.7 MB Notification: Performance of Templates: time 0.09137/1.35, allocations: 104.1 MB / 0.8067 GB, free: 0.9414 MB / 426.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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches