Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008426/0.0008426, allocations: 93.28 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.1e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09099, allocations: 50.43 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4326, allocations: 97.83 MB / 485.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.4329, allocations: 83.95 kB / 485.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4884/0.9213, allocations: 91.97 MB / 0.5638 GB, free: 96.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.9214, allocations: 3.969 kB / 0.5638 GB, free: 96.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003348/0.9217, allocations: 84.11 kB / 0.5639 GB, free: 96.92 MB / 426.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.01866/0.9404, allocations: 4.403 MB / 0.5682 GB, free: 95.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.557e-05/0.9405, allocations: 9.125 kB / 0.5682 GB, free: 95.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02711/0.9676, allocations: 6.707 MB / 0.5748 GB, free: 94.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/0.9841, allocations: 5.798 MB / 0.5804 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.9844, allocations: 133.4 kB / 0.5806 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/0.9868, allocations: 256.5 kB / 0.5808 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01251/0.9993, allocations: 5.982 MB / 0.5866 GB, free: 94.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/1.016, allocations: 9.183 MB / 0.5956 GB, free: 89.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/1.016, allocations: 59.12 kB / 0.5957 GB, free: 89.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005931/1.017, allocations: 28 kB / 0.5957 GB, free: 89.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001177/1.018, allocations: 0.9842 MB / 0.5967 GB, free: 89.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04444/1.063, allocations: 43.3 MB / 0.6389 GB, free: 57.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/1.066, allocations: 3.096 MB / 0.642 GB, free: 55.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/1.068, allocations: 1.937 MB / 0.6439 GB, free: 54.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/1.069, allocations: 0.649 MB / 0.6445 GB, free: 53.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.069, allocations: 51.81 kB / 0.6445 GB, free: 53.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=166): time 4.298e-06/1.069, allocations: 0 / 0.6445 GB, free: 53.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=201): time 0.03456/1.103, allocations: 17.96 MB / 0.6621 GB, free: 38.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/1.103, allocations: 248.6 kB / 0.6623 GB, free: 37.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/1.107, allocations: 3.188 MB / 0.6654 GB, free: 34.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003102/1.108, allocations: 25.7 kB / 0.6654 GB, free: 34.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/1.109, allocations: 3.221 MB / 0.6686 GB, free: 32.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006632/1.11, allocations: 0.7369 MB / 0.6693 GB, free: 31.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/1.11, allocations: 0 / 0.6693 GB, free: 31.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002517/1.11, allocations: 0.5664 MB / 0.6699 GB, free: 30.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/1.112, allocations: 2.077 MB / 0.6719 GB, free: 28.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/1.116, allocations: 5.649 MB / 0.6774 GB, free: 21.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/1.119, allocations: 3.395 MB / 0.6807 GB, free: 18.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.961e-05/1.119, allocations: 43.95 kB / 0.6808 GB, free: 18.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01453/1.134, allocations: 8.566 MB / 0.6891 GB, free: 9.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/1.134, allocations: 60 kB / 0.6892 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/1.134, allocations: 128 kB / 0.6893 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005058/1.139, allocations: 1.953 MB / 0.6912 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004054/1.143, allocations: 1.306 MB / 0.6925 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/1.161, allocations: 14.13 MB / 0.7063 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/1.166, allocations: 223.4 kB / 0.7065 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/1.168, allocations: 371.8 kB / 0.7069 GB, free: 6.938 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * 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 (699): * Single equations (assignments): 693 * 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 {(5,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001068/1.169, allocations: 431 kB / 0.7073 GB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009451/1.17, allocations: 351.4 kB / 0.7076 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008123/1.178, allocations: 3.889 MB / 0.7114 GB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.608e-05/1.178, allocations: 20 kB / 0.7114 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.178, allocations: 11.94 kB / 0.7114 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-05/1.178, allocations: 7.969 kB / 0.7115 GB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3207/1.499, allocations: 8.759 MB / 0.72 GB, free: 98.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.499, allocations: 6.547 kB / 0.72 GB, free: 98.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.5, allocations: 277 kB / 0.7203 GB, free: 98.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004016/1.505, allocations: 1.196 MB / 0.7214 GB, free: 98.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/1.505, allocations: 6.984 kB / 0.7214 GB, free: 98.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.516, allocations: 7.032 MB / 0.7283 GB, free: 97.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.516, allocations: 1.031 kB / 0.7283 GB, free: 97.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/1.527, allocations: 6.82 MB / 0.735 GB, free: 96.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.529, allocations: 393.3 kB / 0.7354 GB, free: 96.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/1.529, allocations: 3.906 kB / 0.7354 GB, free: 96.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.531, allocations: 88.14 kB / 0.7354 GB, free: 96.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/1.531, allocations: 119.6 kB / 0.7356 GB, free: 96.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.531, allocations: 46.41 kB / 0.7356 GB, free: 96.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003406/1.535, allocations: 2.156 MB / 0.7377 GB, free: 96.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.535, allocations: 0 / 0.7377 GB, free: 96.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005727/1.54, allocations: 0.9601 MB / 0.7386 GB, free: 96.42 MB / 442.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.0004869/1.541, allocations: 145.9 kB / 0.7388 GB, free: 96.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008154/1.549, allocations: 5.653 MB / 0.7443 GB, free: 94.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.549, allocations: 0 / 0.7443 GB, free: 94.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002839/1.552, allocations: 1.959 MB / 0.7462 GB, free: 94.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/1.555, allocations: 471.7 kB / 0.7467 GB, free: 94.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.571, allocations: 8.218 MB / 0.7547 GB, free: 91.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003342/1.574, allocations: 3.537 MB / 0.7581 GB, free: 89.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004636/1.579, allocations: 1.921 MB / 0.76 GB, free: 89.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/1.579, allocations: 236.3 kB / 0.7602 GB, free: 89.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/1.579, allocations: 3.75 kB / 0.7602 GB, free: 89.79 MB / 442.7 MB Notification: Performance of Templates: time 0.0654/1.645, allocations: 40.57 MB / 0.7999 GB, free: 71.35 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches