Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001477/0.001477, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.943/1.943, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001149/0.001149, allocations: 92.41 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003905, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.4999, allocations: 103.3 MB / 477.8 MB, free: 9.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.5003, allocations: 95.94 kB / 477.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7152/1.216, allocations: 121.4 MB / 0.5853 GB, free: 30.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.216, allocations: 0 / 0.5853 GB, free: 30.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004232/1.216, allocations: 124 kB / 0.5854 GB, free: 29.98 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: 2051 * Number of variables: 2051 Notification: Performance of Generate backend data structure: time 0.02853/1.245, allocations: 6.66 MB / 0.5919 GB, free: 23.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.245, allocations: 12.03 kB / 0.5919 GB, free: 23.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0217/1.266, allocations: 2.765 MB / 0.5946 GB, free: 20.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02496/1.291, allocations: 7.754 MB / 0.6022 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/1.292, allocations: 460 kB / 0.6026 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003522/1.296, allocations: 0.5934 MB / 0.6032 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05025/1.346, allocations: 15.73 MB / 0.6186 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004599/1.346, allocations: 79.25 kB / 0.6186 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002746/1.349, allocations: 287.9 kB / 0.6189 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003888/1.353, allocations: 1.466 MB / 0.6203 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04658/1.4, allocations: 13.62 MB / 0.6336 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4246/1.824, allocations: 68.97 MB / 0.701 GB, free: 27.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03492/1.859, allocations: 7.682 MB / 0.7085 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03228/1.892, allocations: 14.42 MB / 0.7226 GB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02985/1.922, allocations: 5.667 MB / 0.7281 GB, free: 21.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=295): time 9.728e-06/1.922, allocations: 0 / 0.7281 GB, free: 21.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=387): time 0.2978/2.219, allocations: 53.96 MB / 0.7808 GB, free: 7.586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/2.22, allocations: 251.1 kB / 0.7811 GB, free: 7.293 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/2.234, allocations: 4.602 MB / 0.7855 GB, free: 3.016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001336/2.235, allocations: 85.7 kB / 0.7856 GB, free: 2.926 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00575/2.241, allocations: 3.885 MB / 0.7894 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003259/2.244, allocations: 1.418 MB / 0.7908 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/2.246, allocations: 162.8 kB / 0.791 GB, free: 13.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009584/2.247, allocations: 0.6541 MB / 0.7916 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01356/2.261, allocations: 4.596 MB / 0.7961 GB, free: 8.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01857/2.28, allocations: 8.879 MB / 0.8048 GB, free: 13.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/2.297, allocations: 6.304 MB / 0.8109 GB, free: 7.152 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/2.297, allocations: 44 kB / 0.811 GB, free: 7.109 MB / 458.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.3845/2.681, allocations: 19.08 MB / 0.8296 GB, free: 101.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/2.682, allocations: 69.59 kB / 0.8297 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002922/2.682, allocations: 147.7 kB / 0.8298 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03327/2.715, allocations: 6.779 MB / 0.8364 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/2.727, allocations: 1.802 MB / 0.8382 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09163/2.819, allocations: 36.98 MB / 0.8743 GB, free: 94.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.83, allocations: 0.5968 MB / 0.8749 GB, free: 94.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/2.832, allocations: 498.8 kB / 0.8754 GB, free: 94.05 MB / 458.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 () * Number of clocked 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.009223/2.842, allocations: 3.011 MB / 0.8783 GB, free: 92.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/2.844, allocations: 0.4886 MB / 0.8788 GB, free: 92.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05243/2.896, allocations: 13.94 MB / 0.8924 GB, free: 88.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.39e-05/2.896, allocations: 39.47 kB / 0.8924 GB, free: 88.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.051e-05/2.896, allocations: 27.34 kB / 0.8924 GB, free: 88.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.393e-05/2.896, allocations: 18.09 kB / 0.8925 GB, free: 88.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08521/2.982, allocations: 26.65 MB / 0.9185 GB, free: 70.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.087e-05/2.982, allocations: 4 kB / 0.9185 GB, free: 70.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004776/2.986, allocations: 0.5324 MB / 0.919 GB, free: 70.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03287/3.019, allocations: 6.413 MB / 0.9253 GB, free: 65.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001265/3.021, allocations: 71.98 kB / 0.9253 GB, free: 65.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08361/3.104, allocations: 35.86 MB / 0.9604 GB, free: 29.01 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/3.104, allocations: 4 kB / 0.9604 GB, free: 29.01 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06208/3.166, allocations: 20.45 MB / 0.9803 GB, free: 8.469 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3176/3.484, allocations: 1.392 MB / 0.9817 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002601/3.487, allocations: 69.42 kB / 0.9818 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006764/3.494, allocations: 348.9 kB / 0.9821 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002138/3.496, allocations: 277.6 kB / 0.9824 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007725/3.497, allocations: 102.4 kB / 0.9825 GB, free: 102.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00852/3.505, allocations: 3.295 MB / 0.9857 GB, free: 102.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.91e-07/3.505, allocations: 2.188 kB / 0.9857 GB, free: 102.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01184/3.517, allocations: 1.919 MB / 0.9876 GB, free: 102.6 MB / 458.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) * Number of clocked states: 0 () * 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.00265/3.52, allocations: 0.5367 MB / 0.9881 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03098/3.551, allocations: 12.19 MB / 1 GB, free: 101.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/3.551, allocations: 3.188 kB / 1 GB, free: 101.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01594/3.567, allocations: 5.844 MB / 1.006 GB, free: 100.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005575/3.572, allocations: 0.6046 MB / 1.006 GB, free: 100.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05993/3.632, allocations: 20.08 MB / 1.026 GB, free: 94.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/3.644, allocations: 4.71 MB / 1.03 GB, free: 93.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/3.647, allocations: 426.2 kB / 1.031 GB, free: 93.96 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/3.647, allocations: 0 / 1.031 GB, free: 93.96 MB / 458.7 MB Notification: Performance of Templates: time 0.6797/4.326, allocations: 221.8 MB / 1.247 GB, free: 51.73 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches