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.000949/0.000949, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 241.4 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008252/0.0008251, allocations: 101.4 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 15.94 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2304, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.3496, allocations: 98.72 MB / 0.4897 GB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.3499, allocations: 99.92 kB / 0.4898 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3827/0.7326, allocations: 92.18 MB / 0.5798 GB, free: 33.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7327, allocations: 0 / 0.5798 GB, free: 33.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002641/0.7329, allocations: 95.92 kB / 0.5799 GB, free: 33.68 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01199/0.7449, allocations: 4.625 MB / 0.5844 GB, free: 28.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.745, allocations: 12.03 kB / 0.5845 GB, free: 28.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/0.7629, allocations: 5.056 MB / 0.5894 GB, free: 23.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009122/0.772, allocations: 4.67 MB / 0.594 GB, free: 19.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.7723, allocations: 324.8 kB / 0.5943 GB, free: 18.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.7734, allocations: 440 kB / 0.5947 GB, free: 18.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.7877, allocations: 10.16 MB / 0.6046 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.7879, allocations: 59.72 kB / 0.6047 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004578/0.7884, allocations: 215.8 kB / 0.6049 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009412/0.7893, allocations: 0.9641 MB / 0.6058 GB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.8024, allocations: 8.316 MB / 0.6139 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2895/1.092, allocations: 45.1 MB / 0.658 GB, free: 82.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008049/1.1, allocations: 3.806 MB / 0.6617 GB, free: 81.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/1.102, allocations: 1.993 MB / 0.6636 GB, free: 81.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/1.103, allocations: 0.6508 MB / 0.6643 GB, free: 80.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/1.103, allocations: 55.64 kB / 0.6643 GB, free: 80.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=166): time 4.969e-06/1.103, allocations: 0 / 0.6643 GB, free: 80.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=201): time 0.04498/1.148, allocations: 20.16 MB / 0.684 GB, free: 78.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/1.148, allocations: 263.5 kB / 0.6843 GB, free: 77.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005289/1.153, allocations: 4.119 MB / 0.6883 GB, free: 77.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002989/1.153, allocations: 52.83 kB / 0.6883 GB, free: 77.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/1.155, allocations: 3.179 MB / 0.6914 GB, free: 76.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000663/1.156, allocations: 0.7663 MB / 0.6922 GB, free: 75.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/1.156, allocations: 114.5 kB / 0.6923 GB, free: 75.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002457/1.156, allocations: 0.5513 MB / 0.6928 GB, free: 75.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/1.159, allocations: 2.195 MB / 0.695 GB, free: 75.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004283/1.163, allocations: 5.685 MB / 0.7005 GB, free: 70.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007877/1.171, allocations: 8.562 MB / 0.7089 GB, free: 64.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-05/1.171, allocations: 35.31 kB / 0.7089 GB, free: 64.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01536/1.187, allocations: 9.333 MB / 0.718 GB, free: 61.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/1.187, allocations: 61.34 kB / 0.7181 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.187, allocations: 120.5 kB / 0.7182 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/1.192, allocations: 1.968 MB / 0.7201 GB, free: 60.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/1.195, allocations: 1.253 MB / 0.7214 GB, free: 60.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/1.211, allocations: 15.02 MB / 0.736 GB, free: 49.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00456/1.216, allocations: 331.9 kB / 0.7364 GB, free: 49.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006614/1.217, allocations: 355.6 kB / 0.7367 GB, free: 48.76 MB / 426.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 () * Number of clocked 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.003449/1.22, allocations: 2.164 MB / 0.7388 GB, free: 46.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006925/1.221, allocations: 382.6 kB / 0.7392 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006498/1.227, allocations: 4.077 MB / 0.7432 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/1.227, allocations: 25.8 kB / 0.7432 GB, free: 43.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.227, allocations: 12 kB / 0.7432 GB, free: 43.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/1.227, allocations: 10.22 kB / 0.7432 GB, free: 43.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/1.242, allocations: 9.726 MB / 0.7527 GB, free: 35.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.242, allocations: 0 / 0.7527 GB, free: 35.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.243, allocations: 282 kB / 0.753 GB, free: 35.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/1.246, allocations: 1.229 MB / 0.7542 GB, free: 34.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/1.246, allocations: 30.34 kB / 0.7542 GB, free: 34.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008256/1.254, allocations: 7.569 MB / 0.7616 GB, free: 27.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.254, allocations: 7.062 kB / 0.7616 GB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008886/1.263, allocations: 6.91 MB / 0.7683 GB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.264, allocations: 427.2 kB / 0.7688 GB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/1.265, allocations: 32 kB / 0.7688 GB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.266, allocations: 113.8 kB / 0.7689 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/1.266, allocations: 118.3 kB / 0.769 GB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.267, allocations: 51.05 kB / 0.7691 GB, free: 20.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003665/1.27, allocations: 2.586 MB / 0.7716 GB, free: 18.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.27, allocations: 0 / 0.7716 GB, free: 18.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005473/1.276, allocations: 1.111 MB / 0.7727 GB, free: 17.75 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 (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.0004329/1.276, allocations: 186.3 kB / 0.7728 GB, free: 17.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007795/1.284, allocations: 5.883 MB / 0.7786 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.284, allocations: 0 / 0.7786 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/1.287, allocations: 2.049 MB / 0.7806 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/1.291, allocations: 0.5471 MB / 0.7811 GB, free: 9.746 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/1.309, allocations: 11.81 MB / 0.7927 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00404/1.313, allocations: 3.446 MB / 0.796 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004803/1.318, allocations: 1.884 MB / 0.7979 GB, free: 8.586 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/1.319, allocations: 255.3 kB / 0.7981 GB, free: 8.336 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/1.319, allocations: 0 / 0.7981 GB, free: 8.336 MB / 442.7 MB Notification: Performance of Templates: time 0.2862/1.605, allocations: 45.12 MB / 0.8422 GB, free: 103.5 MB / 458.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/jenkins1/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