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.0009394/0.0009395, allocations: 179.7 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.3 MB / 214.4 MB, free: 1.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000873/0.0008729, allocations: 94.69 kB / 262.5 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.948e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09768, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.4858, allocations: 102.8 MB / 465.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4862, allocations: 84.39 kB / 465.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5272/1.013, allocations: 118.9 MB / 0.5711 GB, free: 89.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.013, allocations: 0 / 0.5711 GB, free: 89.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006471/1.014, allocations: 122.5 kB / 0.5713 GB, free: 89.34 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.0257/1.04, allocations: 6.252 MB / 0.5774 GB, free: 87.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.04, allocations: 11.31 kB / 0.5774 GB, free: 87.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/1.054, allocations: 2.769 MB / 0.5801 GB, free: 86.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/1.073, allocations: 7.714 MB / 0.5876 GB, free: 84.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/1.073, allocations: 194.6 kB / 0.5878 GB, free: 84.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003099/1.076, allocations: 359.3 kB / 0.5881 GB, free: 84.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.019/1.095, allocations: 9.846 MB / 0.5978 GB, free: 80.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03076/1.126, allocations: 13.64 MB / 0.6111 GB, free: 69.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005282/1.127, allocations: 80.98 kB / 0.6111 GB, free: 69.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003235/1.13, allocations: 40 kB / 0.6112 GB, free: 69.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002698/1.133, allocations: 1.464 MB / 0.6126 GB, free: 68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07441/1.207, allocations: 66.83 MB / 0.6779 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008776/1.216, allocations: 6.482 MB / 0.6842 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006553/1.222, allocations: 4.89 MB / 0.689 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/1.224, allocations: 1.279 MB / 0.6902 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.252/1.476, allocations: 4.83 MB / 0.6949 GB, free: 96.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 1.206e-05/1.476, allocations: 1.219 kB / 0.6949 GB, free: 96.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=388): time 0.09811/1.574, allocations: 37.42 MB / 0.7315 GB, free: 92.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/1.574, allocations: 175.6 kB / 0.7317 GB, free: 92.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007459/1.582, allocations: 3.929 MB / 0.7355 GB, free: 91.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001443/1.583, allocations: 28.92 kB / 0.7355 GB, free: 91.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003989/1.587, allocations: 4.096 MB / 0.7395 GB, free: 88.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002479/1.59, allocations: 1.37 MB / 0.7409 GB, free: 87.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000836/1.591, allocations: 0 / 0.7409 GB, free: 87.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004278/1.591, allocations: 0.6646 MB / 0.7415 GB, free: 86.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005919/1.597, allocations: 4.374 MB / 0.7458 GB, free: 84.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008634/1.606, allocations: 8.738 MB / 0.7543 GB, free: 77.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009559/1.615, allocations: 6.135 MB / 0.7603 GB, free: 75.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/1.615, allocations: 45.16 kB / 0.7603 GB, free: 75.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.04387/1.659, allocations: 18.12 MB / 0.778 GB, free: 64.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/1.66, allocations: 72 kB / 0.7781 GB, free: 64.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003744/1.66, allocations: 152 kB / 0.7783 GB, free: 64.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01973/1.68, allocations: 6.532 MB / 0.7846 GB, free: 59.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007072/1.687, allocations: 1.854 MB / 0.7864 GB, free: 58.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05003/1.737, allocations: 33.71 MB / 0.8194 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008559/1.746, allocations: 442.3 kB / 0.8198 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002668/1.748, allocations: 0.5038 MB / 0.8203 GB, free: 28.14 MB / 426.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 (938): * Single equations (assignments): 930 * 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,71.9%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004425/1.753, allocations: 0.5166 MB / 0.8208 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002407/1.755, allocations: 466 kB / 0.8212 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03264/1.788, allocations: 13.42 MB / 0.8343 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-05/1.788, allocations: 40 kB / 0.8344 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-05/1.788, allocations: 28 kB / 0.8344 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001101/1.788, allocations: 19.92 kB / 0.8344 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3403/2.128, allocations: 25.13 MB / 0.859 GB, free: 97.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/2.128, allocations: 3.375 kB / 0.859 GB, free: 97.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/2.131, allocations: 0.5323 MB / 0.8595 GB, free: 97.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01933/2.151, allocations: 6.241 MB / 0.8656 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001149/2.152, allocations: 23.55 kB / 0.8656 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04151/2.193, allocations: 32.44 MB / 0.8973 GB, free: 88.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/2.193, allocations: 6.344 kB / 0.8973 GB, free: 88.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03261/2.226, allocations: 19.69 MB / 0.9165 GB, free: 81.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004325/2.23, allocations: 1.319 MB / 0.9178 GB, free: 80.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001983/2.233, allocations: 11.47 kB / 0.9178 GB, free: 80.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004279/2.237, allocations: 292.1 kB / 0.9181 GB, free: 80.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001547/2.238, allocations: 267.9 kB / 0.9183 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006797/2.239, allocations: 105.7 kB / 0.9184 GB, free: 80.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006091/2.245, allocations: 2.65 MB / 0.921 GB, free: 79.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.054e-06/2.245, allocations: 0 / 0.921 GB, free: 79.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01086/2.256, allocations: 1.676 MB / 0.9227 GB, free: 79.73 MB / 442.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 (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 {(8,71.9%) 101,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001922/2.258, allocations: 422.7 kB / 0.9231 GB, free: 79.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01955/2.278, allocations: 11.5 MB / 0.9343 GB, free: 73.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/2.278, allocations: 0 / 0.9343 GB, free: 73.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009488/2.287, allocations: 5.505 MB / 0.9397 GB, free: 68.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/2.291, allocations: 471.6 kB / 0.9401 GB, free: 68.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/2.327, allocations: 14.31 MB / 0.9541 GB, free: 55.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008287/2.336, allocations: 4.698 MB / 0.9587 GB, free: 52.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007204/2.343, allocations: 2.564 MB / 0.9612 GB, free: 50.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/2.344, allocations: 338.8 kB / 0.9615 GB, free: 50.23 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/2.344, allocations: 0 / 0.9615 GB, free: 50.23 MB / 442.7 MB Notification: Performance of Templates: time 0.3785/2.723, allocations: 83.4 MB / 1.043 GB, free: 92.46 MB / 442.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