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.001471/0.001471, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 93 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.418e-05, allocations: 7.984 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.331, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.5, allocations: 102.5 MB / 464.9 MB, free: 15.73 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.5003, allocations: 83.95 kB / 465 MB, free: 15.65 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7429/1.243, allocations: 118.9 MB / 0.5702 GB, free: 72.33 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.114e-06/1.243, allocations: 0 / 0.5702 GB, free: 72.33 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004406/1.244, allocations: 131.8 kB / 0.5703 GB, free: 72.2 MB / 395.1 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.02777/1.272, allocations: 6.247 MB / 0.5764 GB, free: 65.89 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.272, allocations: 8.031 kB / 0.5764 GB, free: 65.89 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02235/1.294, allocations: 2.777 MB / 0.5791 GB, free: 63.1 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/1.321, allocations: 7.703 MB / 0.5867 GB, free: 55.41 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/1.321, allocations: 208 kB / 0.5869 GB, free: 55.2 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003392/1.325, allocations: 359.8 kB / 0.5872 GB, free: 54.85 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0248/1.35, allocations: 9.847 MB / 0.5968 GB, free: 45 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03635/1.386, allocations: 13.62 MB / 0.6101 GB, free: 30.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005152/1.387, allocations: 87.23 kB / 0.6102 GB, free: 30.09 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003134/1.39, allocations: 36 kB / 0.6102 GB, free: 30.05 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003624/1.393, allocations: 1.465 MB / 0.6117 GB, free: 28.59 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4414/1.835, allocations: 66.81 MB / 0.6769 GB, free: 51.23 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.848, allocations: 6.474 MB / 0.6832 GB, free: 50.56 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009903/1.858, allocations: 4.892 MB / 0.688 GB, free: 50.52 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002209/1.86, allocations: 1.288 MB / 0.6893 GB, free: 49.39 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01222/1.873, allocations: 4.834 MB / 0.694 GB, free: 49.25 MB / 411.1 MB Notification: Performance of pre-optimization done (n=300): time 1.197e-05/1.873, allocations: 0 / 0.694 GB, free: 49.25 MB / 411.1 MB Notification: Performance of matching and sorting (n=388): time 0.1639/2.037, allocations: 37.42 MB / 0.7305 GB, free: 38 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/2.037, allocations: 170.2 kB / 0.7307 GB, free: 37.8 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/2.047, allocations: 3.933 MB / 0.7345 GB, free: 34.43 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001342/2.048, allocations: 26.92 kB / 0.7346 GB, free: 34.39 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004362/2.053, allocations: 3.999 MB / 0.7385 GB, free: 30.79 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002887/2.056, allocations: 1.374 MB / 0.7398 GB, free: 29.55 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001925/2.058, allocations: 0 / 0.7398 GB, free: 29.55 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0007464/2.059, allocations: 0.6674 MB / 0.7405 GB, free: 28.97 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/2.069, allocations: 4.373 MB / 0.7447 GB, free: 25.04 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01396/2.083, allocations: 8.74 MB / 0.7533 GB, free: 14.91 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/2.098, allocations: 6.148 MB / 0.7593 GB, free: 9.91 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002133/2.098, allocations: 44 kB / 0.7593 GB, free: 9.867 MB / 411.1 MB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.07252/2.171, allocations: 18.37 MB / 0.7773 GB, free: 12.5 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/2.171, allocations: 72 kB / 0.7773 GB, free: 12.43 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003247/2.171, allocations: 152 kB / 0.7775 GB, free: 12.29 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03581/2.207, allocations: 6.536 MB / 0.7839 GB, free: 7.66 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/2.22, allocations: 1.851 MB / 0.7857 GB, free: 5.914 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1003/2.32, allocations: 33.71 MB / 0.8186 GB, free: 3.988 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/2.332, allocations: 443.1 kB / 0.819 GB, free: 3.555 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002755/2.335, allocations: 0.5038 MB / 0.8195 GB, free: 3.051 MB / 459.1 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.003693/2.338, allocations: 0.5075 MB / 0.82 GB, free: 2.539 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001711/2.34, allocations: 466.1 kB / 0.8204 GB, free: 2.078 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3607/2.701, allocations: 13.41 MB / 0.8335 GB, free: 120.3 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/2.701, allocations: 41.2 kB / 0.8336 GB, free: 120.3 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.086e-05/2.701, allocations: 27.16 kB / 0.8336 GB, free: 120.3 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.591e-05/2.701, allocations: 20.31 kB / 0.8336 GB, free: 120.3 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0868/2.788, allocations: 25.14 MB / 0.8582 GB, free: 119.1 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-05/2.788, allocations: 3.5 kB / 0.8582 GB, free: 119.1 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004876/2.793, allocations: 0.5319 MB / 0.8587 GB, free: 119.1 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03246/2.825, allocations: 6.243 MB / 0.8648 GB, free: 118 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001291/2.827, allocations: 19.14 kB / 0.8648 GB, free: 118 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07716/2.904, allocations: 32.45 MB / 0.8965 GB, free: 102 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/2.904, allocations: 6.062 kB / 0.8965 GB, free: 102 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05674/2.961, allocations: 19.69 MB / 0.9157 GB, free: 85.86 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005261/2.966, allocations: 1.314 MB / 0.917 GB, free: 84.76 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001767/2.968, allocations: 11.56 kB / 0.917 GB, free: 84.75 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006377/2.974, allocations: 291 kB / 0.9173 GB, free: 84.61 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00192/2.976, allocations: 278.7 kB / 0.9176 GB, free: 84.43 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006601/2.977, allocations: 100.2 kB / 0.9177 GB, free: 84.34 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.007188/2.984, allocations: 2.651 MB / 0.9203 GB, free: 82.03 MB / 459.1 MB Notification: Performance of sort global known variables: time 9.92e-07/2.984, allocations: 3.938 kB / 0.9203 GB, free: 82.02 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01382/2.998, allocations: 1.67 MB / 0.9219 GB, free: 80.37 MB / 459.1 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.002669/3.001, allocations: 419.7 kB / 0.9223 GB, free: 80.13 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.02873/3.03, allocations: 11.49 MB / 0.9335 GB, free: 69.13 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/3.03, allocations: 4 kB / 0.9335 GB, free: 69.13 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01513/3.045, allocations: 5.495 MB / 0.9389 GB, free: 63.55 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005649/3.051, allocations: 479.1 kB / 0.9393 GB, free: 63.09 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05507/3.106, allocations: 15.06 MB / 0.954 GB, free: 48.16 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/3.117, allocations: 4.7 MB / 0.9586 GB, free: 43.43 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002799/3.12, allocations: 411.3 kB / 0.959 GB, free: 43.04 MB / 459.1 MB Notification: Performance of SimCode: time 1.282e-06/3.12, allocations: 0 / 0.959 GB, free: 43.04 MB / 459.1 MB Notification: Performance of Templates: time 1.018/4.138, allocations: 217.4 MB / 1.171 GB, free: 120.5 MB / 475.1 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