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.001204/0.001204, allocations: 181.9 kB / 17.41 MB, free: 4.266 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.304/1.304, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007588/0.0007585, allocations: 93.36 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 47.58 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3089, allocations: 97.87 MB / 473.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.3092, allocations: 95.94 kB / 473.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3598/0.669, allocations: 93.35 MB / 0.5538 GB, free: 62.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6691, allocations: 3.938 kB / 0.5538 GB, free: 62.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002469/0.6693, allocations: 91.98 kB / 0.5538 GB, free: 62.77 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.01213/0.6815, allocations: 4.747 MB / 0.5585 GB, free: 57.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.6815, allocations: 12.03 kB / 0.5585 GB, free: 57.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/0.7004, allocations: 5.08 MB / 0.5635 GB, free: 52.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.7107, allocations: 5.049 MB / 0.5684 GB, free: 47.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.711, allocations: 333 kB / 0.5687 GB, free: 47.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/0.7129, allocations: 444.1 kB / 0.5691 GB, free: 46.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.7312, allocations: 10.46 MB / 0.5793 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/0.7315, allocations: 59.62 kB / 0.5794 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/0.7328, allocations: 219.8 kB / 0.5796 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001224/0.734, allocations: 1.011 MB / 0.5806 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.7483, allocations: 8.602 MB / 0.589 GB, free: 25.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04911/0.7975, allocations: 46.13 MB / 0.634 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009173/0.8067, allocations: 3.92 MB / 0.6379 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/0.8094, allocations: 2.044 MB / 0.6399 GB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.8102, allocations: 0.6477 MB / 0.6405 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.8102, allocations: 55.56 kB / 0.6405 GB, free: 3.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 5.53e-06/0.8103, allocations: 0 / 0.6405 GB, free: 3.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.2292/1.039, allocations: 20.65 MB / 0.6607 GB, free: 92.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/1.04, allocations: 257.7 kB / 0.661 GB, free: 92.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007648/1.047, allocations: 4.222 MB / 0.6651 GB, free: 91.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/1.048, allocations: 57.36 kB / 0.6651 GB, free: 91.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001877/1.049, allocations: 3.253 MB / 0.6683 GB, free: 90.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000902/1.05, allocations: 0.7973 MB / 0.6691 GB, free: 89.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005087/1.051, allocations: 115.6 kB / 0.6692 GB, free: 89.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003575/1.051, allocations: 0.5622 MB / 0.6698 GB, free: 89.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/1.054, allocations: 2.257 MB / 0.672 GB, free: 89.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004099/1.059, allocations: 5.83 MB / 0.6776 GB, free: 84.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007226/1.066, allocations: 8.793 MB / 0.6862 GB, free: 77.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.943e-05/1.066, allocations: 37 kB / 0.6863 GB, free: 77.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01398/1.08, allocations: 9.548 MB / 0.6956 GB, free: 74.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.562e-05/1.08, allocations: 63.16 kB / 0.6957 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/1.08, allocations: 125.3 kB / 0.6958 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004892/1.085, allocations: 1.965 MB / 0.6977 GB, free: 74.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/1.088, allocations: 1.299 MB / 0.699 GB, free: 73.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/1.104, allocations: 15.02 MB / 0.7136 GB, free: 62.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/1.109, allocations: 345.5 kB / 0.714 GB, free: 62.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008436/1.11, allocations: 369.3 kB / 0.7143 GB, free: 62.02 MB / 410.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 () * Number of clocked 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.004327/1.114, allocations: 2.237 MB / 0.7165 GB, free: 60.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008092/1.115, allocations: 394.9 kB / 0.7169 GB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007533/1.122, allocations: 4.186 MB / 0.721 GB, free: 56.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/1.122, allocations: 30.84 kB / 0.721 GB, free: 56.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/1.123, allocations: 8 kB / 0.721 GB, free: 56.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/1.123, allocations: 13.7 kB / 0.721 GB, free: 56.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/1.141, allocations: 10.01 MB / 0.7308 GB, free: 48.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.141, allocations: 4 kB / 0.7308 GB, free: 48.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.142, allocations: 301.5 kB / 0.7311 GB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00317/1.145, allocations: 1.218 MB / 0.7323 GB, free: 47.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/1.146, allocations: 38.77 kB / 0.7323 GB, free: 47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008549/1.154, allocations: 7.565 MB / 0.7397 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.154, allocations: 0 / 0.7397 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.164, allocations: 7.103 MB / 0.7466 GB, free: 34.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.166, allocations: 0.7244 MB / 0.7473 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009757/1.167, allocations: 36 kB / 0.7474 GB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.169, allocations: 117.6 kB / 0.7475 GB, free: 33.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003687/1.17, allocations: 129.7 kB / 0.7476 GB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.17, allocations: 52 kB / 0.7477 GB, free: 33.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004398/1.174, allocations: 2.655 MB / 0.7502 GB, free: 30.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.174, allocations: 0 / 0.7502 GB, free: 30.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005253/1.18, allocations: 1.142 MB / 0.7514 GB, free: 29.54 MB / 410.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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004799/1.18, allocations: 176.1 kB / 0.7515 GB, free: 29.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007752/1.188, allocations: 6.026 MB / 0.7574 GB, free: 23.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.188, allocations: 0 / 0.7574 GB, free: 23.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.191, allocations: 2.108 MB / 0.7595 GB, free: 21.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/1.195, allocations: 0.5431 MB / 0.76 GB, free: 20.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/1.218, allocations: 12.75 MB / 0.7724 GB, free: 7.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006942/1.225, allocations: 3.533 MB / 0.7759 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.227, allocations: 303.4 kB / 0.7762 GB, free: 4.094 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/1.227, allocations: 0 / 0.7762 GB, free: 4.094 MB / 410.7 MB Notification: Performance of Templates: time 0.2804/1.507, allocations: 103.6 MB / 0.8773 GB, free: 74.55 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