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.0009566/0.0009566, allocations: 176.4 kB / 8.349 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.338/1.338, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0009634/0.0009636, allocations: 90.12 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.824e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 50.41 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4456, allocations: 103.9 MB / 491.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4459, allocations: 87.95 kB / 491.5 MB, free: 6.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5258/0.9717, allocations: 119.9 MB / 0.5971 GB, free: 94.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.9717, allocations: 0 / 0.5971 GB, free: 94.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003685/0.9721, allocations: 129 kB / 0.5972 GB, free: 94.55 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: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.02089/0.993, allocations: 6.22 MB / 0.6033 GB, free: 91.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.9931, allocations: 7.344 kB / 0.6033 GB, free: 91.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/1.008, allocations: 2.764 MB / 0.606 GB, free: 91.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/1.024, allocations: 7.246 MB / 0.6131 GB, free: 88.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/1.024, allocations: 196.1 kB / 0.6133 GB, free: 88.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002891/1.027, allocations: 363.3 kB / 0.6136 GB, free: 88.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01916/1.046, allocations: 9.835 MB / 0.6232 GB, free: 82.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03001/1.076, allocations: 13.61 MB / 0.6365 GB, free: 67.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005239/1.077, allocations: 83.23 kB / 0.6366 GB, free: 67.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003128/1.08, allocations: 36 kB / 0.6366 GB, free: 67.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002383/1.083, allocations: 1.458 MB / 0.6381 GB, free: 66.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09398/1.177, allocations: 66.63 MB / 0.7031 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/1.19, allocations: 6.454 MB / 0.7094 GB, free: 8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009871/1.2, allocations: 4.876 MB / 0.7142 GB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/1.202, allocations: 1.291 MB / 0.7155 GB, free: 1.617 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2817/1.484, allocations: 4.819 MB / 0.7202 GB, free: 102.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=297): time 1.367e-05/1.484, allocations: 0 / 0.7202 GB, free: 102.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=389): time 0.1001/1.584, allocations: 39.09 MB / 0.7583 GB, free: 97.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/1.584, allocations: 172.3 kB / 0.7585 GB, free: 96.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007918/1.592, allocations: 3.885 MB / 0.7623 GB, free: 95.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.593, allocations: 25.7 kB / 0.7623 GB, free: 95.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003189/1.596, allocations: 4.071 MB / 0.7663 GB, free: 92.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002005/1.598, allocations: 1.377 MB / 0.7676 GB, free: 91.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006967/1.599, allocations: 3.219 kB / 0.7676 GB, free: 91.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003664/1.599, allocations: 0.6606 MB / 0.7683 GB, free: 90.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00502/1.604, allocations: 4.417 MB / 0.7726 GB, free: 89.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008154/1.613, allocations: 8.78 MB / 0.7812 GB, free: 81.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008936/1.622, allocations: 6.189 MB / 0.7872 GB, free: 79.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/1.622, allocations: 45.16 kB / 0.7873 GB, free: 79.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.04131/1.663, allocations: 18.2 MB / 0.805 GB, free: 65.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000325/1.663, allocations: 73.56 kB / 0.8051 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003956/1.664, allocations: 152 kB / 0.8052 GB, free: 65.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0191/1.683, allocations: 6.522 MB / 0.8116 GB, free: 60.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007581/1.691, allocations: 1.857 MB / 0.8134 GB, free: 59.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05056/1.741, allocations: 33.84 MB / 0.8465 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008454/1.75, allocations: 447.1 kB / 0.8469 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002637/1.752, allocations: 0.5038 MB / 0.8474 GB, free: 26.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 702 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (939): * Single equations (assignments): 931 * 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 {(8,70.3%) 104,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0051/1.757, allocations: 0.51 MB / 0.8479 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002306/1.76, allocations: 466 kB / 0.8483 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03015/1.79, allocations: 13.53 MB / 0.8615 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.837e-05/1.79, allocations: 40 kB / 0.8616 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/1.79, allocations: 31.94 kB / 0.8616 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001232/1.79, allocations: 15.94 kB / 0.8616 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.355/2.145, allocations: 25.27 MB / 0.8863 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.367e-05/2.145, allocations: 4.781 kB / 0.8863 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002903/2.148, allocations: 0.535 MB / 0.8868 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01948/2.168, allocations: 6.221 MB / 0.8929 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00152/2.169, allocations: 21.95 kB / 0.8929 GB, free: 101.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04997/2.219, allocations: 32.5 MB / 0.9247 GB, free: 93.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/2.219, allocations: 7.344 kB / 0.9247 GB, free: 93.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0419/2.261, allocations: 19.84 MB / 0.9441 GB, free: 86.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/2.263, allocations: 0.5119 MB / 0.9446 GB, free: 86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002506/2.266, allocations: 14.3 kB / 0.9446 GB, free: 86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004634/2.27, allocations: 296.9 kB / 0.9448 GB, free: 86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002024/2.272, allocations: 277.9 kB / 0.9451 GB, free: 85.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001004/2.273, allocations: 106.3 kB / 0.9452 GB, free: 85.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006498/2.28, allocations: 2.608 MB / 0.9478 GB, free: 84.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/2.28, allocations: 0 / 0.9478 GB, free: 84.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01299/2.293, allocations: 1.673 MB / 0.9494 GB, free: 84.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 232 * 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 {(7,75.5%) 102,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002693/2.296, allocations: 428.9 kB / 0.9498 GB, free: 84.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02039/2.316, allocations: 11.59 MB / 0.9611 GB, free: 79.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/2.316, allocations: 0 / 0.9611 GB, free: 79.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009401/2.326, allocations: 5.517 MB / 0.9665 GB, free: 74.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/2.33, allocations: 488.9 kB / 0.967 GB, free: 73.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03483/2.365, allocations: 14.28 MB / 0.9809 GB, free: 61.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007731/2.372, allocations: 4.683 MB / 0.9855 GB, free: 58.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006497/2.379, allocations: 2.559 MB / 0.988 GB, free: 56.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/2.38, allocations: 341.1 kB / 0.9883 GB, free: 56.11 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/2.38, allocations: 0 / 0.9883 GB, free: 56.11 MB / 458.7 MB Notification: Performance of Templates: time 0.4556/2.836, allocations: 83.7 MB / 1.07 GB, free: 106.7 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