Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007849/0.0007848, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.632e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09436, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3191/0.4136, allocations: 103.2 MB / 473.2 MB, free: 6.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.4138, allocations: 89.19 kB / 473.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5134/0.9272, allocations: 121.5 MB / 0.5808 GB, free: 90.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.9273, allocations: 3.938 kB / 0.5808 GB, free: 90.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003784/0.9277, allocations: 122 kB / 0.581 GB, free: 90.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2051 * Number of variables: 2051 Notification: Performance of Generate backend data structure: time 0.02087/0.9485, allocations: 6.255 MB / 0.5871 GB, free: 87.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.9486, allocations: 11.59 kB / 0.5871 GB, free: 87.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/0.9625, allocations: 2.775 MB / 0.5898 GB, free: 87.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/0.9807, allocations: 7.718 MB / 0.5973 GB, free: 84.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.9812, allocations: 454.8 kB / 0.5978 GB, free: 83.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003893/0.9851, allocations: 0.5918 MB / 0.5983 GB, free: 83.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03926/1.024, allocations: 15.61 MB / 0.6136 GB, free: 68.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004311/1.025, allocations: 83.23 kB / 0.6137 GB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002738/1.028, allocations: 293.6 kB / 0.6139 GB, free: 68.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002072/1.03, allocations: 1.458 MB / 0.6154 GB, free: 66.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/1.057, allocations: 13.45 MB / 0.6285 GB, free: 53.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.375/1.432, allocations: 68.97 MB / 0.6959 GB, free: 86.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/1.453, allocations: 7.637 MB / 0.7033 GB, free: 86.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006671/1.459, allocations: 4.987 MB / 0.7082 GB, free: 86.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02424/1.484, allocations: 14.42 MB / 0.7223 GB, free: 83.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01747/1.501, allocations: 5.637 MB / 0.7278 GB, free: 83.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 8.005e-06/1.501, allocations: 0 / 0.7278 GB, free: 83.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=387): time 0.1352/1.636, allocations: 44.08 MB / 0.7708 GB, free: 69.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.637, allocations: 255.3 kB / 0.7711 GB, free: 69.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007936/1.644, allocations: 4.555 MB / 0.7755 GB, free: 65.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001344/1.646, allocations: 81.7 kB / 0.7756 GB, free: 65.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004407/1.65, allocations: 4.032 MB / 0.7795 GB, free: 61.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002777/1.653, allocations: 1.415 MB / 0.7809 GB, free: 60.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005883/1.654, allocations: 164 kB / 0.7811 GB, free: 60.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004118/1.654, allocations: 0.651 MB / 0.7817 GB, free: 59.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006026/1.66, allocations: 4.522 MB / 0.7861 GB, free: 55.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008617/1.669, allocations: 8.809 MB / 0.7947 GB, free: 45.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009502/1.678, allocations: 6.282 MB / 0.8009 GB, free: 40.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/1.678, allocations: 40 kB / 0.8009 GB, free: 40.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.04413/1.723, allocations: 19.11 MB / 0.8196 GB, free: 21.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002958/1.723, allocations: 69.25 kB / 0.8196 GB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003873/1.723, allocations: 148 kB / 0.8198 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01934/1.743, allocations: 6.782 MB / 0.8264 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008227/1.751, allocations: 1.797 MB / 0.8281 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.395/2.146, allocations: 35.44 MB / 0.8627 GB, free: 93.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009374/2.156, allocations: 0.5846 MB / 0.8633 GB, free: 93.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00223/2.158, allocations: 0.4907 MB / 0.8638 GB, free: 93.92 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (912): * Single equations (assignments): 904 * 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 {(10,63.0%) 102,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002315/2.16, allocations: 0.7161 MB / 0.8645 GB, free: 93.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/2.162, allocations: 0.4922 MB / 0.865 GB, free: 93.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03094/2.193, allocations: 13.86 MB / 0.8785 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.676e-05/2.193, allocations: 38.8 kB / 0.8785 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.929e-05/2.193, allocations: 27 kB / 0.8786 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/2.193, allocations: 22.86 kB / 0.8786 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05334/2.246, allocations: 26.57 MB / 0.9045 GB, free: 86.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.158e-05/2.247, allocations: 9.156 kB / 0.9045 GB, free: 86.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002887/2.249, allocations: 0.5381 MB / 0.9051 GB, free: 86.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01862/2.268, allocations: 6.395 MB / 0.9113 GB, free: 85.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001481/2.27, allocations: 75.88 kB / 0.9114 GB, free: 85.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04655/2.316, allocations: 34.31 MB / 0.9449 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/2.316, allocations: 14.83 kB / 0.9449 GB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03638/2.353, allocations: 20.33 MB / 0.9648 GB, free: 49.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006071/2.359, allocations: 1.394 MB / 0.9661 GB, free: 47.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/2.361, allocations: 67.98 kB / 0.9662 GB, free: 47.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/2.364, allocations: 348.1 kB / 0.9665 GB, free: 47.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/2.366, allocations: 275.7 kB / 0.9668 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000332/2.366, allocations: 108.2 kB / 0.9669 GB, free: 47.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00511/2.371, allocations: 3.25 MB / 0.9701 GB, free: 43.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.371, allocations: 0 / 0.9701 GB, free: 43.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01053/2.382, allocations: 1.915 MB / 0.9719 GB, free: 42.05 MB / 442.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 230 * 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.001691/2.383, allocations: 0.4989 MB / 0.9724 GB, free: 41.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01856/2.402, allocations: 12.04 MB / 0.9842 GB, free: 29.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/2.402, allocations: 0 / 0.9842 GB, free: 29.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00906/2.411, allocations: 5.774 MB / 0.9898 GB, free: 23.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00512/2.416, allocations: 0.6085 MB / 0.9904 GB, free: 23.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03572/2.452, allocations: 14.64 MB / 1.005 GB, free: 8.699 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005412/2.457, allocations: 4.714 MB / 1.009 GB, free: 3.973 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006512/2.464, allocations: 2.52 MB / 1.012 GB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/2.465, allocations: 367.2 kB / 1.012 GB, free: 1.105 MB / 442.7 MB Notification: Performance of SimCode: time 2.445e-06/2.465, allocations: 0 / 1.012 GB, free: 1.105 MB / 442.7 MB Notification: Performance of Templates: time 0.4596/2.925, allocations: 92.18 MB / 1.102 GB, free: 76.88 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetPulling/RollingWheelSetPulling.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches