Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001639, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000863/0.0008631, allocations: 86.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.363e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.469, allocations: 97.5 MB / 460.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.4694, allocations: 89.95 kB / 460.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4884/0.9578, allocations: 112.9 MB / 0.5602 GB, free: 87.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.9579, allocations: 0 / 0.5602 GB, free: 87.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002877/0.9582, allocations: 122.4 kB / 0.5603 GB, free: 87.25 MB / 410.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.0182/0.9764, allocations: 5.973 MB / 0.5661 GB, free: 85.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.9764, allocations: 7.719 kB / 0.5661 GB, free: 85.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.9889, allocations: 2.734 MB / 0.5688 GB, free: 84.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/1.004, allocations: 7.55 MB / 0.5762 GB, free: 83.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/1.004, allocations: 182.2 kB / 0.5763 GB, free: 83.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/1.006, allocations: 342.6 kB / 0.5767 GB, free: 83.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0145/1.02, allocations: 9.513 MB / 0.5859 GB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02564/1.046, allocations: 13.08 MB / 0.5987 GB, free: 75.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004358/1.047, allocations: 73.41 kB / 0.5988 GB, free: 75.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002467/1.049, allocations: 33.81 kB / 0.5988 GB, free: 75.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002177/1.051, allocations: 1.433 MB / 0.6002 GB, free: 74.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07221/1.124, allocations: 63.69 MB / 0.6624 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006851/1.13, allocations: 6.219 MB / 0.6685 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004821/1.135, allocations: 4.734 MB / 0.6731 GB, free: 6.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/1.137, allocations: 1.295 MB / 0.6744 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/1.137, allocations: 64.56 kB / 0.6744 GB, free: 4.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 7.765e-06/1.137, allocations: 0 / 0.6744 GB, free: 4.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.3671/1.504, allocations: 37.09 MB / 0.7107 GB, free: 92.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/1.504, allocations: 164.7 kB / 0.7108 GB, free: 92.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005889/1.51, allocations: 3.642 MB / 0.7144 GB, free: 91.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.511, allocations: 25.7 kB / 0.7144 GB, free: 91.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00214/1.513, allocations: 3.795 MB / 0.7181 GB, free: 89.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001871/1.515, allocations: 1.322 MB / 0.7194 GB, free: 88.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/1.516, allocations: 0 / 0.7194 GB, free: 88.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003916/1.516, allocations: 0.6425 MB / 0.72 GB, free: 88.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005021/1.521, allocations: 4.295 MB / 0.7242 GB, free: 88.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00678/1.528, allocations: 8.42 MB / 0.7324 GB, free: 82.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007449/1.535, allocations: 5.986 MB / 0.7383 GB, free: 80.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.229e-05/1.535, allocations: 42.25 kB / 0.7383 GB, free: 80.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.0334/1.569, allocations: 17.75 MB / 0.7557 GB, free: 74.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.569, allocations: 68.47 kB / 0.7557 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/1.569, allocations: 145.4 kB / 0.7559 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01706/1.586, allocations: 6.463 MB / 0.7622 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006267/1.592, allocations: 1.768 MB / 0.7639 GB, free: 73.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04054/1.633, allocations: 33.74 MB / 0.7969 GB, free: 50.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007678/1.641, allocations: 434.5 kB / 0.7973 GB, free: 49.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/1.643, allocations: 493.5 kB / 0.7977 GB, free: 49.41 MB / 426.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.001896/1.645, allocations: 494 kB / 0.7982 GB, free: 48.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/1.646, allocations: 446.4 kB / 0.7986 GB, free: 48.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02555/1.672, allocations: 13.3 MB / 0.8116 GB, free: 37.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-05/1.672, allocations: 40 kB / 0.8117 GB, free: 37.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.302e-05/1.672, allocations: 31.88 kB / 0.8117 GB, free: 37.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/1.672, allocations: 21.14 kB / 0.8117 GB, free: 37.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0436/1.716, allocations: 24.77 MB / 0.8359 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-05/1.716, allocations: 4 kB / 0.8359 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/1.718, allocations: 0.5307 MB / 0.8364 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01618/1.734, allocations: 6.242 MB / 0.8425 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001163/1.735, allocations: 19.98 kB / 0.8425 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3117/2.047, allocations: 30.58 MB / 0.8724 GB, free: 98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/2.047, allocations: 7.188 kB / 0.8724 GB, free: 98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03094/2.078, allocations: 19.66 MB / 0.8916 GB, free: 92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003534/2.082, allocations: 1.285 MB / 0.8929 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/2.083, allocations: 12.58 kB / 0.8929 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/2.087, allocations: 293 kB / 0.8932 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009738/2.088, allocations: 265 kB / 0.8934 GB, free: 91.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003142/2.088, allocations: 98.59 kB / 0.8935 GB, free: 91.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003707/2.092, allocations: 2.462 MB / 0.8959 GB, free: 90.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.092, allocations: 1.406 kB / 0.8959 GB, free: 90.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008555/2.1, allocations: 1.603 MB / 0.8975 GB, free: 90.55 MB / 442.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.0007957/2.101, allocations: 164.8 kB / 0.8976 GB, free: 90.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01477/2.116, allocations: 11.24 MB / 0.9086 GB, free: 86.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/2.116, allocations: 0 / 0.9086 GB, free: 86.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008153/2.124, allocations: 5.492 MB / 0.914 GB, free: 83.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/2.128, allocations: 448.8 kB / 0.9144 GB, free: 83.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/2.157, allocations: 13.86 MB / 0.9279 GB, free: 77.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004653/2.162, allocations: 4.513 MB / 0.9323 GB, free: 74.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005721/2.168, allocations: 2.457 MB / 0.9347 GB, free: 73.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/2.169, allocations: 320.2 kB / 0.9351 GB, free: 72.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/2.169, allocations: 0 / 0.9351 GB, free: 72.74 MB / 442.7 MB Notification: Performance of Templates: time 0.354/2.523, allocations: 81.09 MB / 1.014 GB, free: 97.76 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches