Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 181.2 kB / 16.38 MB, free: 5.766 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.311/1.311, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009596/0.0009598, allocations: 102.3 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 8 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2649, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.3918, allocations: 99.47 MB / 0.4892 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.3922, allocations: 91.95 kB / 0.4893 GB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4122/0.8044, allocations: 116.2 MB / 0.6028 GB, free: 9.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.8044, allocations: 0 / 0.6028 GB, free: 9.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003252/0.8047, allocations: 120 kB / 0.6029 GB, free: 9.234 MB / 378.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.01739/0.8221, allocations: 6.307 MB / 0.6091 GB, free: 2.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.8222, allocations: 19.94 kB / 0.6091 GB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.8342, allocations: 2.722 MB / 0.6118 GB, free: 100 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/0.8519, allocations: 7.12 MB / 0.6187 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/0.8524, allocations: 427.3 kB / 0.6191 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002805/0.8552, allocations: 0.5623 MB / 0.6197 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03693/0.8922, allocations: 15.08 MB / 0.6344 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004351/0.8926, allocations: 71.31 kB / 0.6345 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002439/0.8951, allocations: 271.9 kB / 0.6347 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002494/0.8976, allocations: 1.431 MB / 0.6361 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/0.9273, allocations: 13.21 MB / 0.649 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3014/1.229, allocations: 65.68 MB / 0.7132 GB, free: 32.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/1.246, allocations: 7.399 MB / 0.7204 GB, free: 32.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.021/1.268, allocations: 13.96 MB / 0.734 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/1.268, allocations: 65.31 kB / 0.7341 GB, free: 27.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=282): time 6.242e-06/1.268, allocations: 0 / 0.7341 GB, free: 27.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=373): time 0.1571/1.425, allocations: 50.54 MB / 0.7835 GB, free: 2.859 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/1.425, allocations: 192.7 kB / 0.7836 GB, free: 2.633 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008742/1.434, allocations: 4.297 MB / 0.7878 GB, free: 15.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001219/1.435, allocations: 77.7 kB / 0.7879 GB, free: 15.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003655/1.439, allocations: 3.746 MB / 0.7916 GB, free: 11.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00277/1.441, allocations: 1.353 MB / 0.7929 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008767/1.442, allocations: 159.4 kB / 0.793 GB, free: 10.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005432/1.443, allocations: 0.6345 MB / 0.7937 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006886/1.45, allocations: 4.44 MB / 0.798 GB, free: 6.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01176/1.461, allocations: 8.475 MB / 0.8063 GB, free: 12.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.472, allocations: 6.09 MB / 0.8122 GB, free: 6.266 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.472, allocations: 40 kB / 0.8123 GB, free: 6.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.04709/1.519, allocations: 18.67 MB / 0.8305 GB, free: 3.652 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000193/1.519, allocations: 67.98 kB / 0.8306 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002417/1.52, allocations: 140 kB / 0.8307 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2705/1.79, allocations: 6.657 MB / 0.8372 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006062/1.796, allocations: 1.719 MB / 0.8389 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04757/1.844, allocations: 36.86 MB / 0.8749 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007221/1.851, allocations: 0.5704 MB / 0.8754 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001738/1.853, allocations: 476.7 kB / 0.8759 GB, free: 102 MB / 474.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 () * Number of clocked 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.006644/1.859, allocations: 2.856 MB / 0.8787 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/1.861, allocations: 476.2 kB / 0.8791 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02726/1.888, allocations: 13.64 MB / 0.8924 GB, free: 96.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.746e-05/1.888, allocations: 37.41 kB / 0.8925 GB, free: 96.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.584e-05/1.888, allocations: 26.28 kB / 0.8925 GB, free: 96.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.008e-05/1.888, allocations: 21.52 kB / 0.8925 GB, free: 96.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0499/1.938, allocations: 25.86 MB / 0.9178 GB, free: 85.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.767e-05/1.938, allocations: 10.44 kB / 0.9178 GB, free: 85.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/1.941, allocations: 0.5177 MB / 0.9183 GB, free: 85.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01806/1.959, allocations: 6.278 MB / 0.9244 GB, free: 80.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001435/1.96, allocations: 73.77 kB / 0.9245 GB, free: 80.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04575/2.006, allocations: 34.11 MB / 0.9578 GB, free: 50.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.006, allocations: 10.28 kB / 0.9578 GB, free: 50.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03562/2.042, allocations: 20.2 MB / 0.9775 GB, free: 30.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/2.044, allocations: 0.5496 MB / 0.9781 GB, free: 30 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002408/2.047, allocations: 69.22 kB / 0.9781 GB, free: 29.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004539/2.051, allocations: 349.4 kB / 0.9785 GB, free: 29.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001789/2.053, allocations: 269 kB / 0.9787 GB, free: 29.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009607/2.054, allocations: 99.97 kB / 0.9788 GB, free: 29.24 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006302/2.06, allocations: 3.053 MB / 0.9818 GB, free: 26.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.06, allocations: 0 / 0.9818 GB, free: 26.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01295/2.073, allocations: 1.831 MB / 0.9836 GB, free: 24.38 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.001589/2.075, allocations: 222.5 kB / 0.9838 GB, free: 24.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02051/2.095, allocations: 11.83 MB / 0.9954 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.096, allocations: 0 / 0.9954 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01075/2.106, allocations: 5.665 MB / 1.001 GB, free: 6.625 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/2.111, allocations: 0.5675 MB / 1.001 GB, free: 6.082 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2554/2.367, allocations: 18.42 MB / 1.019 GB, free: 98.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006769/2.374, allocations: 4.492 MB / 1.024 GB, free: 97.94 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0073/2.381, allocations: 2.398 MB / 1.026 GB, free: 97.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/2.383, allocations: 346.4 kB / 1.027 GB, free: 97.88 MB / 474.7 MB Notification: Performance of SimCode: time 6.42e-07/2.383, allocations: 0 / 1.027 GB, free: 97.88 MB / 474.7 MB Notification: Performance of Templates: time 0.1236/2.506, allocations: 88.8 MB / 1.113 GB, free: 54.56 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches