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.001115/0.001115, allocations: 183 kB / 18.04 MB, free: 3.75 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.382/1.382, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007592/0.0007592, allocations: 96.95 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 47.59 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3201, allocations: 103.5 MB / 480.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.3204, allocations: 91.95 kB / 480.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4975/0.8179, allocations: 119.3 MB / 0.5859 GB, free: 31.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.818, allocations: 0 / 0.5859 GB, free: 31.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000407/0.8184, allocations: 123.9 kB / 0.586 GB, free: 31.5 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.01999/0.8384, allocations: 6.397 MB / 0.5923 GB, free: 25.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.8385, allocations: 12.03 kB / 0.5923 GB, free: 25.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.8502, allocations: 2.66 MB / 0.5949 GB, free: 22.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.8623, allocations: 6.502 MB / 0.6012 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.8627, allocations: 456.4 kB / 0.6016 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/0.8652, allocations: 0.5977 MB / 0.6022 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03152/0.8967, allocations: 15.52 MB / 0.6174 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003927/0.8972, allocations: 79.38 kB / 0.6175 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/0.8992, allocations: 291.8 kB / 0.6177 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/0.9015, allocations: 1.466 MB / 0.6192 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/0.9299, allocations: 13.37 MB / 0.6322 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2726/1.203, allocations: 68.85 MB / 0.6995 GB, free: 28.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/1.22, allocations: 7.517 MB / 0.7068 GB, free: 27.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005917/1.226, allocations: 5.028 MB / 0.7117 GB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02054/1.247, allocations: 14.63 MB / 0.726 GB, free: 22.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01442/1.261, allocations: 5.419 MB / 0.7313 GB, free: 21.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 6.873e-06/1.261, allocations: 0 / 0.7313 GB, free: 21.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=384): time 0.1531/1.415, allocations: 50.6 MB / 0.7807 GB, free: 11.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.415, allocations: 167.1 kB / 0.7809 GB, free: 11.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009102/1.424, allocations: 5.165 MB / 0.7859 GB, free: 6.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001205/1.425, allocations: 83.73 kB / 0.786 GB, free: 6.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003839/1.429, allocations: 4.044 MB / 0.7899 GB, free: 2.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002203/1.431, allocations: 1.399 MB / 0.7913 GB, free: 1.094 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008158/1.432, allocations: 164 kB / 0.7915 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005393/1.432, allocations: 0.661 MB / 0.7921 GB, free: 272 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00836/1.441, allocations: 4.588 MB / 0.7966 GB, free: 11.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01202/1.453, allocations: 8.907 MB / 0.8053 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02079/1.474, allocations: 14.53 MB / 0.8195 GB, free: 0.625 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/1.474, allocations: 51.19 kB / 0.8195 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.2571/1.731, allocations: 19.26 MB / 0.8383 GB, free: 109.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.515e-05/1.731, allocations: 68.94 kB / 0.8384 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/1.731, allocations: 149.7 kB / 0.8385 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01782/1.749, allocations: 6.767 MB / 0.8451 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006599/1.756, allocations: 1.813 MB / 0.8469 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04361/1.8, allocations: 35.53 MB / 0.8816 GB, free: 98.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007313/1.807, allocations: 0.5914 MB / 0.8822 GB, free: 98.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.809, allocations: 0.4891 MB / 0.8827 GB, free: 98.5 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.00572/1.814, allocations: 3.014 MB / 0.8856 GB, free: 97.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.815, allocations: 0.4893 MB / 0.8861 GB, free: 97.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02409/1.84, allocations: 13.95 MB / 0.8997 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/1.84, allocations: 37.02 kB / 0.8997 GB, free: 89.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.529e-05/1.84, allocations: 28 kB / 0.8998 GB, free: 89.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-05/1.84, allocations: 20.06 kB / 0.8998 GB, free: 89.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04121/1.881, allocations: 26.36 MB / 0.9255 GB, free: 68.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/1.881, allocations: 7.938 kB / 0.9255 GB, free: 68.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.884, allocations: 0.5307 MB / 0.9261 GB, free: 68.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01508/1.899, allocations: 6.406 MB / 0.9323 GB, free: 62.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008072/1.9, allocations: 72.53 kB / 0.9324 GB, free: 62.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03967/1.939, allocations: 34.41 MB / 0.966 GB, free: 27.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.939, allocations: 4 kB / 0.966 GB, free: 27.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2134/2.153, allocations: 19.87 MB / 0.9854 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004221/2.157, allocations: 1.378 MB / 0.9867 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/2.159, allocations: 68.91 kB / 0.9868 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003585/2.162, allocations: 352.6 kB / 0.9871 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/2.163, allocations: 268 kB / 0.9874 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003576/2.164, allocations: 103.4 kB / 0.9875 GB, free: 101 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005121/2.169, allocations: 3.303 MB / 0.9907 GB, free: 100.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.169, allocations: 0 / 0.9907 GB, free: 100.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00869/2.178, allocations: 1.925 MB / 0.9926 GB, free: 100.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (237): * Single equations (assignments): 227 * 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.001535/2.179, allocations: 0.5284 MB / 0.9931 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01776/2.197, allocations: 12.19 MB / 1.005 GB, free: 99.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/2.197, allocations: 3.406 kB / 1.005 GB, free: 99.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01004/2.207, allocations: 5.828 MB / 1.011 GB, free: 99.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006527/2.214, allocations: 0.6511 MB / 1.011 GB, free: 99.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0361/2.25, allocations: 19.36 MB / 1.03 GB, free: 93.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006908/2.257, allocations: 4.579 MB / 1.035 GB, free: 92.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007255/2.264, allocations: 2.522 MB / 1.037 GB, free: 92.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/2.266, allocations: 360.8 kB / 1.038 GB, free: 92.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.674e-06/2.266, allocations: 2.297 kB / 1.038 GB, free: 92.02 MB / 458.7 MB Notification: Performance of Templates: time 0.1372/2.403, allocations: 92.38 MB / 1.128 GB, free: 25.86 MB / 458.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/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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches