Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 181.7 kB / 16.39 MB, free: 5.762 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.322/1.322, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0007933/0.0007932, allocations: 98.69 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002477, allocations: 7.938 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2554, allocations: 50.41 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.388, allocations: 104.7 MB / 0.4943 GB, free: 7.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.3884, allocations: 91.95 kB / 0.4944 GB, free: 7.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4326/0.8211, allocations: 122.4 MB / 0.614 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.8211, allocations: 0 / 0.614 GB, free: 14.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002908/0.8214, allocations: 127.9 kB / 0.6141 GB, free: 14.2 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.02059/0.842, allocations: 6.608 MB / 0.6206 GB, free: 7.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8421, allocations: 8.031 kB / 0.6206 GB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/0.8546, allocations: 2.761 MB / 0.6233 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/0.8712, allocations: 7.278 MB / 0.6304 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.8716, allocations: 448 kB / 0.6308 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.8735, allocations: 0.6128 MB / 0.6314 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/0.905, allocations: 15.71 MB / 0.6467 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/0.9053, allocations: 75.31 kB / 0.6468 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001704/0.9071, allocations: 291.8 kB / 0.6471 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002224/0.9093, allocations: 1.458 MB / 0.6485 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2454/1.155, allocations: 13.6 MB / 0.6618 GB, free: 62.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08001/1.235, allocations: 68.76 MB / 0.7289 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/1.254, allocations: 7.671 MB / 0.7364 GB, free: 24.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02607/1.28, allocations: 14.34 MB / 0.7504 GB, free: 17.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0173/1.297, allocations: 5.65 MB / 0.7559 GB, free: 16.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=292): time 1.041e-05/1.297, allocations: 0 / 0.7559 GB, free: 16.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=388): time 0.1871/1.484, allocations: 56.97 MB / 0.8116 GB, free: 9.277 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/1.485, allocations: 244.2 kB / 0.8118 GB, free: 8.988 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007877/1.492, allocations: 4.543 MB / 0.8163 GB, free: 4.453 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001278/1.494, allocations: 85.7 kB / 0.8163 GB, free: 4.363 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004235/1.498, allocations: 4.026 MB / 0.8203 GB, free: 364 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002669/1.501, allocations: 1.426 MB / 0.8217 GB, free: 14.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009446/1.502, allocations: 164 kB / 0.8218 GB, free: 14.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005523/1.502, allocations: 0.6533 MB / 0.8225 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008103/1.51, allocations: 4.635 MB / 0.827 GB, free: 9.477 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2461/1.757, allocations: 8.913 MB / 0.8357 GB, free: 101.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.767, allocations: 6.36 MB / 0.8419 GB, free: 101.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001881/1.768, allocations: 45.81 kB / 0.8419 GB, free: 101.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.04424/1.812, allocations: 19.34 MB / 0.8608 GB, free: 101.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003046/1.812, allocations: 71.34 kB / 0.8609 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004067/1.813, allocations: 151.1 kB / 0.861 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01998/1.833, allocations: 6.59 MB / 0.8675 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007085/1.84, allocations: 1.801 MB / 0.8692 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05052/1.89, allocations: 37.17 MB / 0.9055 GB, free: 88.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008985/1.899, allocations: 0.5913 MB / 0.9061 GB, free: 88.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002731/1.902, allocations: 0.4954 MB / 0.9066 GB, free: 87.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 905 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008358/1.911, allocations: 3.01 MB / 0.9095 GB, free: 86.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/1.912, allocations: 495.8 kB / 0.91 GB, free: 86.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03081/1.943, allocations: 14.04 MB / 0.9237 GB, free: 79.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.772e-05/1.943, allocations: 41.25 kB / 0.9237 GB, free: 79.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-05/1.943, allocations: 31.72 kB / 0.9238 GB, free: 79.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.01e-05/1.943, allocations: 16.45 kB / 0.9238 GB, free: 79.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05913/2.003, allocations: 26.79 MB / 0.95 GB, free: 57.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.161e-05/2.003, allocations: 4 kB / 0.95 GB, free: 57.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002804/2.005, allocations: 0.5378 MB / 0.9505 GB, free: 57.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0185/2.024, allocations: 6.418 MB / 0.9568 GB, free: 52.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001491/2.026, allocations: 75.81 kB / 0.9568 GB, free: 52.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04868/2.074, allocations: 35.84 MB / 0.9918 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/2.074, allocations: 8.031 kB / 0.9918 GB, free: 17.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3163/2.391, allocations: 20.59 MB / 1.012 GB, free: 94.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/2.392, allocations: 0.5778 MB / 1.013 GB, free: 94.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/2.394, allocations: 69.02 kB / 1.013 GB, free: 94.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00344/2.397, allocations: 352.5 kB / 1.013 GB, free: 94.37 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009807/2.398, allocations: 278.9 kB / 1.013 GB, free: 94.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003324/2.399, allocations: 103.7 kB / 1.013 GB, free: 94.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005221/2.404, allocations: 3.258 MB / 1.016 GB, free: 94.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/2.404, allocations: 0 / 1.016 GB, free: 94.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009709/2.414, allocations: 1.916 MB / 1.018 GB, free: 94.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/2.415, allocations: 0.5378 MB / 1.019 GB, free: 94.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01854/2.434, allocations: 12.2 MB / 1.031 GB, free: 93.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/2.434, allocations: 0 / 1.031 GB, free: 93.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01122/2.445, allocations: 5.88 MB / 1.037 GB, free: 92.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/2.45, allocations: 0.6059 MB / 1.037 GB, free: 92.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0444/2.495, allocations: 19.44 MB / 1.056 GB, free: 86.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/2.508, allocations: 4.696 MB / 1.061 GB, free: 85.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01459/2.523, allocations: 2.525 MB / 1.063 GB, free: 85.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002815/2.525, allocations: 360.4 kB / 1.063 GB, free: 85.68 MB / 474.7 MB Notification: Performance of SimCode: time 2.955e-06/2.525, allocations: 0 / 1.063 GB, free: 85.68 MB / 474.7 MB Notification: Performance of Templates: time 0.1419/2.667, allocations: 92.42 MB / 1.154 GB, free: 21.32 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetPulling/RollingWheelSetPulling.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches