Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.RollingWheelSetDriving,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.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,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.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 172.2 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.553/1.553, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008214/0.0008215, allocations: 74.67 kB / 267.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.167e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 47.56 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4518, allocations: 97.94 MB / 468 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4521, allocations: 89.89 kB / 468 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5376/0.9897, allocations: 115.3 MB / 0.5697 GB, free: 89.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.9897, allocations: 0 / 0.5697 GB, free: 89.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003104/0.9901, allocations: 119.4 kB / 0.5698 GB, free: 89.68 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01942/1.009, allocations: 5.978 MB / 0.5756 GB, free: 87.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.01, allocations: 11.59 kB / 0.5756 GB, free: 87.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/1.023, allocations: 2.73 MB / 0.5783 GB, free: 87.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/1.039, allocations: 7.552 MB / 0.5857 GB, free: 85.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/1.04, allocations: 427.3 kB / 0.5861 GB, free: 85.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003529/1.043, allocations: 0.5679 MB / 0.5866 GB, free: 84.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0391/1.083, allocations: 14.95 MB / 0.6012 GB, free: 77.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004894/1.083, allocations: 75.5 kB / 0.6013 GB, free: 77.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00273/1.086, allocations: 270.8 kB / 0.6016 GB, free: 77.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001964/1.088, allocations: 1.429 MB / 0.603 GB, free: 76.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02641/1.114, allocations: 13.03 MB / 0.6157 GB, free: 65.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0808/1.195, allocations: 65.76 MB / 0.6799 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0194/1.215, allocations: 7.333 MB / 0.6871 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006835/1.221, allocations: 4.842 MB / 0.6918 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3349/1.556, allocations: 13.98 MB / 0.7054 GB, free: 97.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/1.557, allocations: 60.67 kB / 0.7055 GB, free: 97.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=282): time 7.254e-06/1.557, allocations: 0.8438 kB / 0.7055 GB, free: 97.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=373): time 0.1364/1.693, allocations: 41.18 MB / 0.7457 GB, free: 89.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.693, allocations: 196.5 kB / 0.7459 GB, free: 89.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008866/1.702, allocations: 4.257 MB / 0.7501 GB, free: 87.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001812/1.704, allocations: 80.67 kB / 0.7501 GB, free: 87.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002821/1.707, allocations: 3.752 MB / 0.7538 GB, free: 84.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002463/1.709, allocations: 1.359 MB / 0.7551 GB, free: 83.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/1.71, allocations: 156.9 kB / 0.7553 GB, free: 83.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004662/1.71, allocations: 0.6363 MB / 0.7559 GB, free: 83.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006126/1.716, allocations: 4.361 MB / 0.7602 GB, free: 81.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008574/1.725, allocations: 8.405 MB / 0.7684 GB, free: 72.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008556/1.734, allocations: 6.041 MB / 0.7743 GB, free: 67.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.556e-05/1.734, allocations: 40 kB / 0.7743 GB, free: 67.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.03802/1.772, allocations: 18.52 MB / 0.7924 GB, free: 52.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002142/1.772, allocations: 65.25 kB / 0.7925 GB, free: 52.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003587/1.772, allocations: 140 kB / 0.7926 GB, free: 52.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01934/1.792, allocations: 6.66 MB / 0.7991 GB, free: 47.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007038/1.799, allocations: 1.712 MB / 0.8008 GB, free: 45.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05471/1.854, allocations: 35.32 MB / 0.8353 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009223/1.863, allocations: 0.5699 MB / 0.8358 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003227/1.866, allocations: 476.5 kB / 0.8363 GB, free: 8.852 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * Number of states: 0 () * Number of discrete variables: 51 (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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 852 * 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 {(9,67.9%) 100,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00417/1.87, allocations: 0.6821 MB / 0.8369 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/1.873, allocations: 473.9 kB / 0.8374 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0322/1.905, allocations: 13.55 MB / 0.8506 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.353e-05/1.905, allocations: 43.52 kB / 0.8507 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001081/1.905, allocations: 28 kB / 0.8507 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/1.905, allocations: 15.94 kB / 0.8507 GB, free: 9.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3813/2.286, allocations: 25.79 MB / 0.8759 GB, free: 98.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.025e-05/2.287, allocations: 3.906 kB / 0.8759 GB, free: 98.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/2.289, allocations: 0.5198 MB / 0.8764 GB, free: 98.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01833/2.308, allocations: 6.264 MB / 0.8825 GB, free: 98.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/2.309, allocations: 76.91 kB / 0.8826 GB, free: 98.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04443/2.354, allocations: 32.57 MB / 0.9144 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-06/2.354, allocations: 5.094 kB / 0.9144 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04183/2.395, allocations: 20.05 MB / 0.934 GB, free: 73.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004861/2.4, allocations: 1.333 MB / 0.9353 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002518/2.403, allocations: 69.81 kB / 0.9353 GB, free: 72.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00529/2.408, allocations: 345.7 kB / 0.9357 GB, free: 72.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001948/2.41, allocations: 264.5 kB / 0.9359 GB, free: 72.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008759/2.411, allocations: 99.86 kB / 0.936 GB, free: 72.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007808/2.419, allocations: 3.053 MB / 0.939 GB, free: 69.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.419, allocations: 0 / 0.939 GB, free: 69.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01378/2.433, allocations: 1.835 MB / 0.9408 GB, free: 67.89 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 218 * 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%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001763/2.435, allocations: 212.2 kB / 0.941 GB, free: 67.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02107/2.456, allocations: 11.66 MB / 0.9524 GB, free: 57.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.456, allocations: 0 / 0.9524 GB, free: 57.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0113/2.467, allocations: 5.59 MB / 0.9579 GB, free: 52.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00605/2.473, allocations: 0.5665 MB / 0.9584 GB, free: 51.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04529/2.519, allocations: 14 MB / 0.9721 GB, free: 39.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006642/2.525, allocations: 4.521 MB / 0.9765 GB, free: 36.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00658/2.532, allocations: 2.403 MB / 0.9788 GB, free: 33.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/2.533, allocations: 337.4 kB / 0.9792 GB, free: 33.3 MB / 442.7 MB Notification: Performance of SimCode: time 3.276e-06/2.533, allocations: 0 / 0.9792 GB, free: 33.3 MB / 442.7 MB Notification: Performance of Templates: time 0.4406/2.974, allocations: 88.91 MB / 1.066 GB, free: 98.71 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches