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.001611/0.001611, allocations: 174.6 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.5 MB / 230.3 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009175/0.0009174, allocations: 97.91 kB / 281.2 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.793e-05, allocations: 7.984 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.09688, allocations: 50.41 MB / 387.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4658, allocations: 98.74 MB / 486.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.4662, allocations: 83.95 kB / 486.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5829/1.049, allocations: 113.9 MB / 0.5862 GB, free: 94.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.049, allocations: 0 / 0.5862 GB, free: 94.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002142/1.049, allocations: 116.9 kB / 0.5863 GB, free: 94.76 MB / 426.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.01479/1.064, allocations: 5.949 MB / 0.5921 GB, free: 92.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.064, allocations: 11.38 kB / 0.5921 GB, free: 92.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/1.077, allocations: 2.723 MB / 0.5947 GB, free: 92.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/1.093, allocations: 7.09 MB / 0.6017 GB, free: 89.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/1.093, allocations: 185.2 kB / 0.6018 GB, free: 89.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003995/1.097, allocations: 346.6 kB / 0.6022 GB, free: 89.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01662/1.114, allocations: 9.512 MB / 0.6115 GB, free: 86.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/1.141, allocations: 13.06 MB / 0.6242 GB, free: 77.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004795/1.142, allocations: 83.25 kB / 0.6243 GB, free: 77.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002799/1.145, allocations: 39.66 kB / 0.6243 GB, free: 77.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002239/1.147, allocations: 1.433 MB / 0.6257 GB, free: 76.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07601/1.223, allocations: 63.61 MB / 0.6879 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008194/1.231, allocations: 6.226 MB / 0.6939 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005325/1.236, allocations: 4.747 MB / 0.6986 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/1.238, allocations: 1.286 MB / 0.6998 GB, free: 1.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.238, allocations: 60.56 kB / 0.6999 GB, free: 1.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 5.18e-06/1.238, allocations: 0 / 0.6999 GB, free: 1.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.3783/1.616, allocations: 36.92 MB / 0.7359 GB, free: 98.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/1.616, allocations: 170.6 kB / 0.7361 GB, free: 97.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005697/1.622, allocations: 3.587 MB / 0.7396 GB, free: 97.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.623, allocations: 31.83 kB / 0.7396 GB, free: 97.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.625, allocations: 3.785 MB / 0.7433 GB, free: 95.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002256/1.627, allocations: 1.328 MB / 0.7446 GB, free: 94.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/1.628, allocations: 0 / 0.7446 GB, free: 94.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003916/1.628, allocations: 0.6472 MB / 0.7453 GB, free: 94.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005211/1.634, allocations: 4.295 MB / 0.7495 GB, free: 93.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007924/1.641, allocations: 8.415 MB / 0.7577 GB, free: 86.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008361/1.65, allocations: 5.994 MB / 0.7635 GB, free: 83.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.922e-05/1.65, allocations: 42.78 kB / 0.7636 GB, free: 83.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.04007/1.69, allocations: 17.74 MB / 0.7809 GB, free: 78.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002344/1.69, allocations: 71.81 kB / 0.781 GB, free: 78.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003024/1.691, allocations: 146.7 kB / 0.7811 GB, free: 78.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01856/1.709, allocations: 6.471 MB / 0.7874 GB, free: 77.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006694/1.716, allocations: 1.769 MB / 0.7891 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05217/1.768, allocations: 33.75 MB / 0.8221 GB, free: 50.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009547/1.778, allocations: 431.4 kB / 0.8225 GB, free: 50.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003041/1.781, allocations: 494.5 kB / 0.823 GB, free: 50.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 (890): * Single equations (assignments): 882 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004427/1.785, allocations: 492.6 kB / 0.8234 GB, free: 49.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002437/1.788, allocations: 442.2 kB / 0.8239 GB, free: 49.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03094/1.819, allocations: 13.3 MB / 0.8369 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.927e-05/1.819, allocations: 40 kB / 0.8369 GB, free: 37.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.184e-05/1.819, allocations: 28 kB / 0.8369 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001218/1.819, allocations: 15.94 kB / 0.8369 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05714/1.876, allocations: 24.75 MB / 0.8611 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.505e-05/1.876, allocations: 7.562 kB / 0.8611 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/1.879, allocations: 0.5304 MB / 0.8616 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01836/1.898, allocations: 6.239 MB / 0.8677 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001509/1.899, allocations: 19.97 kB / 0.8677 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3866/2.286, allocations: 30.58 MB / 0.8976 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/2.286, allocations: 11.17 kB / 0.8976 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03492/2.321, allocations: 19.67 MB / 0.9168 GB, free: 97.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/2.323, allocations: 498.5 kB / 0.9173 GB, free: 97.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00259/2.325, allocations: 13.97 kB / 0.9173 GB, free: 97.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005028/2.33, allocations: 291.7 kB / 0.9176 GB, free: 97.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002396/2.333, allocations: 269.7 kB / 0.9179 GB, free: 97.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007142/2.334, allocations: 101.9 kB / 0.918 GB, free: 97.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005312/2.339, allocations: 2.422 MB / 0.9203 GB, free: 96.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/2.339, allocations: 0 / 0.9203 GB, free: 96.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01299/2.352, allocations: 1.599 MB / 0.9219 GB, free: 96.66 MB / 458.7 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 223 * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/2.354, allocations: 163.1 kB / 0.922 GB, free: 96.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02149/2.375, allocations: 11.24 MB / 0.933 GB, free: 92.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/2.375, allocations: 2.969 kB / 0.933 GB, free: 92.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01032/2.386, allocations: 5.476 MB / 0.9384 GB, free: 89.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005066/2.391, allocations: 443 kB / 0.9388 GB, free: 89.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03939/2.43, allocations: 13.83 MB / 0.9523 GB, free: 84.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008733/2.439, allocations: 4.496 MB / 0.9567 GB, free: 81.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006805/2.446, allocations: 2.461 MB / 0.9591 GB, free: 79.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/2.447, allocations: 318.5 kB / 0.9594 GB, free: 79.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/2.447, allocations: 0 / 0.9594 GB, free: 79.66 MB / 458.7 MB Notification: Performance of Templates: time 0.1244/2.572, allocations: 81 MB / 1.038 GB, free: 6.383 MB / 458.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