Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009758/0.0009758, allocations: 195.4 kB / 18.07 MB, free: 3.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007222/0.0007222, allocations: 98.86 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001978/0.0001978, allocations: 8 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2054, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3104, allocations: 99.27 MB / 0.496 GB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3107, allocations: 99.94 kB / 0.4961 GB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3492/0.6599, allocations: 93.41 MB / 0.5873 GB, free: 23.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6599, allocations: 0 / 0.5873 GB, free: 23.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000235/0.6602, allocations: 95.94 kB / 0.5874 GB, free: 23.58 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.01189/0.6721, allocations: 4.676 MB / 0.592 GB, free: 18.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.6721, allocations: 12.03 kB / 0.592 GB, free: 18.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01889/0.691, allocations: 5.056 MB / 0.5969 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009515/0.7006, allocations: 4.483 MB / 0.6013 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.7009, allocations: 316.8 kB / 0.6016 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001818/0.7027, allocations: 444 kB / 0.602 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.7219, allocations: 10.16 MB / 0.612 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002872/0.7222, allocations: 59.64 kB / 0.612 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/0.7237, allocations: 207.8 kB / 0.6122 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.7253, allocations: 0.968 MB / 0.6132 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.7418, allocations: 8.312 MB / 0.6213 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05064/0.7925, allocations: 45.11 MB / 0.6653 GB, free: 5.234 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008732/0.8013, allocations: 3.814 MB / 0.6691 GB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2101/1.011, allocations: 1.98 MB / 0.671 GB, free: 100.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/1.012, allocations: 0.6497 MB / 0.6716 GB, free: 99.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/1.012, allocations: 56.88 kB / 0.6717 GB, free: 99.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 5.18e-06/1.012, allocations: 0 / 0.6717 GB, free: 99.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.04776/1.06, allocations: 20.18 MB / 0.6914 GB, free: 96.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/1.06, allocations: 254.9 kB / 0.6916 GB, free: 96.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00635/1.066, allocations: 4.119 MB / 0.6957 GB, free: 96.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002756/1.067, allocations: 59.02 kB / 0.6957 GB, free: 96.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/1.069, allocations: 3.168 MB / 0.6988 GB, free: 94.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007265/1.069, allocations: 0.7629 MB / 0.6995 GB, free: 94.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/1.07, allocations: 114.7 kB / 0.6997 GB, free: 94.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003446/1.07, allocations: 0.5566 MB / 0.7002 GB, free: 94.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/1.073, allocations: 2.198 MB / 0.7023 GB, free: 94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004467/1.077, allocations: 5.679 MB / 0.7079 GB, free: 89.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008356/1.086, allocations: 8.56 MB / 0.7163 GB, free: 83.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/1.086, allocations: 34.78 kB / 0.7163 GB, free: 83.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01596/1.102, allocations: 9.352 MB / 0.7254 GB, free: 80.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.102, allocations: 61.34 kB / 0.7255 GB, free: 80.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002156/1.102, allocations: 119.7 kB / 0.7256 GB, free: 80.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004901/1.107, allocations: 1.966 MB / 0.7275 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/1.111, allocations: 1.256 MB / 0.7287 GB, free: 79.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07858/1.189, allocations: 15 MB / 0.7434 GB, free: 69.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008104/1.198, allocations: 330.9 kB / 0.7437 GB, free: 68.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/1.199, allocations: 362.4 kB / 0.744 GB, free: 68.61 MB / 442.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.007267/1.207, allocations: 2.174 MB / 0.7462 GB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/1.208, allocations: 379.1 kB / 0.7465 GB, free: 66.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.221, allocations: 4.07 MB / 0.7505 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-05/1.221, allocations: 20 kB / 0.7505 GB, free: 63.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-05/1.221, allocations: 12 kB / 0.7505 GB, free: 63.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-05/1.222, allocations: 13.17 kB / 0.7505 GB, free: 63.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02866/1.25, allocations: 9.734 MB / 0.7601 GB, free: 55.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.25, allocations: 0 / 0.7601 GB, free: 55.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.252, allocations: 282.7 kB / 0.7603 GB, free: 54.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/1.255, allocations: 1.22 MB / 0.7615 GB, free: 54.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/1.255, allocations: 28 kB / 0.7615 GB, free: 54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00879/1.264, allocations: 7.578 MB / 0.7689 GB, free: 47.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.264, allocations: 0 / 0.7689 GB, free: 47.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009793/1.274, allocations: 6.923 MB / 0.7757 GB, free: 41.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.275, allocations: 422.9 kB / 0.7761 GB, free: 41.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009481/1.276, allocations: 37.48 kB / 0.7761 GB, free: 41.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.278, allocations: 115.3 kB / 0.7763 GB, free: 40.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/1.278, allocations: 116.2 kB / 0.7764 GB, free: 40.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.278, allocations: 48 kB / 0.7764 GB, free: 40.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004678/1.283, allocations: 2.59 MB / 0.7789 GB, free: 38.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.283, allocations: 0 / 0.7789 GB, free: 38.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005977/1.289, allocations: 1.12 MB / 0.78 GB, free: 37.57 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 () * 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.0006082/1.289, allocations: 178.3 kB / 0.7802 GB, free: 37.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008175/1.298, allocations: 5.884 MB / 0.7859 GB, free: 32.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.298, allocations: 0 / 0.7859 GB, free: 32.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002963/1.301, allocations: 2.041 MB / 0.7879 GB, free: 30.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004569/1.305, allocations: 0.5546 MB / 0.7885 GB, free: 29.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.327, allocations: 12.33 MB / 0.8005 GB, free: 18.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005478/1.332, allocations: 3.438 MB / 0.8039 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.334, allocations: 291.4 kB / 0.8042 GB, free: 14.7 MB / 442.7 MB Notification: Performance of SimCode: time 7.52e-07/1.334, allocations: 0 / 0.8042 GB, free: 14.7 MB / 442.7 MB Notification: Performance of Templates: time 0.4183/1.752, allocations: 100.6 MB / 0.9024 GB, free: 94.51 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches