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.001033/0.001033, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.348/1.348, allocations: 223.2 MB / 240.3 MB, free: 10.13 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.0009208/0.0009207, allocations: 92.67 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 4 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 50.4 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.3851, allocations: 98.58 MB / 0.4884 GB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.3854, allocations: 92.95 kB / 0.4884 GB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.469/0.8544, allocations: 93.67 MB / 0.5799 GB, free: 32.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8545, allocations: 0 / 0.5799 GB, free: 32.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003371/0.8548, allocations: 87.94 kB / 0.58 GB, free: 32.5 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.01746/0.8723, allocations: 4.789 MB / 0.5847 GB, free: 27.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.8723, allocations: 8.031 kB / 0.5847 GB, free: 27.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02449/0.8968, allocations: 6.698 MB / 0.5912 GB, free: 20.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.9126, allocations: 5.828 MB / 0.5969 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/0.913, allocations: 316.4 kB / 0.5972 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/0.9156, allocations: 443.6 kB / 0.5976 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/0.9402, allocations: 10.22 MB / 0.6076 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003275/0.9405, allocations: 63.45 kB / 0.6077 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/0.9423, allocations: 207.9 kB / 0.6079 GB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001407/0.9437, allocations: 0.9718 MB / 0.6088 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.9604, allocations: 8.398 MB / 0.617 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3038/1.264, allocations: 45.13 MB / 0.6611 GB, free: 59.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007462/1.272, allocations: 3.88 MB / 0.6649 GB, free: 58.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/1.272, allocations: 0.649 MB / 0.6655 GB, free: 57.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.272, allocations: 57.41 kB / 0.6656 GB, free: 57.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=166): time 4.158e-06/1.272, allocations: 3.562 kB / 0.6656 GB, free: 57.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=201): time 0.04779/1.32, allocations: 20.81 MB / 0.6859 GB, free: 54.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/1.32, allocations: 257.8 kB / 0.6862 GB, free: 54.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/1.325, allocations: 3.666 MB / 0.6897 GB, free: 54.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002842/1.325, allocations: 56.03 kB / 0.6898 GB, free: 54.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/1.327, allocations: 3.171 MB / 0.6929 GB, free: 52.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000586/1.327, allocations: 0.7655 MB / 0.6936 GB, free: 52.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/1.327, allocations: 121.6 kB / 0.6937 GB, free: 52.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/1.328, allocations: 0.552 MB / 0.6943 GB, free: 51.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/1.33, allocations: 2.191 MB / 0.6964 GB, free: 51.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/1.334, allocations: 5.659 MB / 0.702 GB, free: 47.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/1.338, allocations: 3.471 MB / 0.7053 GB, free: 47.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-05/1.338, allocations: 34.12 kB / 0.7054 GB, free: 47.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01437/1.352, allocations: 9.333 MB / 0.7145 GB, free: 44.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.46e-05/1.352, allocations: 57.28 kB / 0.7145 GB, free: 44.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/1.352, allocations: 125.6 kB / 0.7147 GB, free: 44.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004987/1.357, allocations: 1.977 MB / 0.7166 GB, free: 44.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/1.361, allocations: 1.261 MB / 0.7178 GB, free: 44.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/1.377, allocations: 15.51 MB / 0.733 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004689/1.382, allocations: 339 kB / 0.7333 GB, free: 32.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008084/1.382, allocations: 358.1 kB / 0.7336 GB, free: 32.55 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.00359/1.386, allocations: 2.167 MB / 0.7358 GB, free: 30.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000725/1.387, allocations: 379.1 kB / 0.7361 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006373/1.393, allocations: 4.074 MB / 0.7401 GB, free: 27.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/1.393, allocations: 20 kB / 0.7401 GB, free: 27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.393, allocations: 10.5 kB / 0.7401 GB, free: 27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.393, allocations: 6.328 kB / 0.7401 GB, free: 27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/1.408, allocations: 9.739 MB / 0.7496 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.408, allocations: 0 / 0.7496 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.409, allocations: 280.9 kB / 0.7499 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/1.412, allocations: 1.222 MB / 0.7511 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.413, allocations: 32 kB / 0.7511 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00835/1.421, allocations: 7.859 MB / 0.7588 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.421, allocations: 0 / 0.7588 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008957/1.43, allocations: 7.056 MB / 0.7657 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/1.432, allocations: 426.8 kB / 0.7661 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007312/1.432, allocations: 38.38 kB / 0.7661 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.434, allocations: 116.5 kB / 0.7663 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/1.434, allocations: 114.7 kB / 0.7664 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.434, allocations: 51.8 kB / 0.7664 GB, free: 4.426 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003888/1.438, allocations: 2.585 MB / 0.7689 GB, free: 2.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.438, allocations: 0 / 0.7689 GB, free: 2.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007069/1.445, allocations: 1.109 MB / 0.77 GB, free: 1.188 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.0006667/1.446, allocations: 180.2 kB / 0.7702 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/1.458, allocations: 5.906 MB / 0.776 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.458, allocations: 0 / 0.776 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003548/1.461, allocations: 2.049 MB / 0.778 GB, free: 9.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/1.465, allocations: 0.5379 MB / 0.7785 GB, free: 9.254 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/1.486, allocations: 11.78 MB / 0.79 GB, free: 13.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005387/1.492, allocations: 3.536 MB / 0.7934 GB, free: 9.941 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005427/1.497, allocations: 1.888 MB / 0.7953 GB, free: 8.062 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009176/1.498, allocations: 251.4 kB / 0.7955 GB, free: 7.816 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/1.498, allocations: 8.578 kB / 0.7955 GB, free: 7.812 MB / 458.7 MB Notification: Performance of Templates: time 0.3059/1.804, allocations: 44.94 MB / 0.8394 GB, free: 137.5 MB / 490.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