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.0009478/0.0009478, allocations: 172.5 kB / 17.39 MB, free: 4.188 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 223.3 MB / 241.4 MB, free: 9.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008317/0.0008318, allocations: 97.61 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 11.94 kB / 352.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 50.41 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.3205, allocations: 99.63 MB / 0.4906 GB, free: 12.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.3208, allocations: 95.95 kB / 0.4907 GB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4111/0.732, allocations: 114.2 MB / 0.6022 GB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.732, allocations: 0 / 0.6022 GB, free: 10.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003774/0.7324, allocations: 112 kB / 0.6023 GB, free: 10.84 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01875/0.7512, allocations: 6.053 MB / 0.6082 GB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7512, allocations: 15.97 kB / 0.6082 GB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.7628, allocations: 2.622 MB / 0.6108 GB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/0.7757, allocations: 5.852 MB / 0.6165 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005087/0.7762, allocations: 435.7 kB / 0.6169 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002914/0.7791, allocations: 0.5665 MB / 0.6175 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.035/0.8142, allocations: 14.87 MB / 0.632 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004073/0.8146, allocations: 75.48 kB / 0.632 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002285/0.8169, allocations: 279.8 kB / 0.6323 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002287/0.8192, allocations: 1.435 MB / 0.6337 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02563/0.8448, allocations: 12.96 MB / 0.6464 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.309/1.154, allocations: 65.59 MB / 0.7104 GB, free: 32.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02872/1.183, allocations: 7.21 MB / 0.7175 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008775/1.192, allocations: 4.886 MB / 0.7222 GB, free: 31.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02449/1.216, allocations: 14.18 MB / 0.7361 GB, free: 26.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/1.216, allocations: 63.08 kB / 0.7361 GB, free: 26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=279): time 5.531e-06/1.216, allocations: 0 / 0.7361 GB, free: 26 MB / 426.7 MB Notification: Performance of matching and sorting (n=370): time 0.1445/1.361, allocations: 48.41 MB / 0.7834 GB, free: 3.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/1.361, allocations: 163 kB / 0.7836 GB, free: 3.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008866/1.37, allocations: 4.827 MB / 0.7883 GB, free: 15.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009762/1.371, allocations: 81.7 kB / 0.7884 GB, free: 15.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002681/1.373, allocations: 3.749 MB / 0.792 GB, free: 11.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.375, allocations: 1.342 MB / 0.7933 GB, free: 10.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006318/1.376, allocations: 156 kB / 0.7935 GB, free: 10.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004102/1.376, allocations: 0.64 MB / 0.7941 GB, free: 9.965 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006081/1.382, allocations: 4.446 MB / 0.7985 GB, free: 6.156 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009938/1.392, allocations: 8.507 MB / 0.8068 GB, free: 12.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/1.41, allocations: 13.95 MB / 0.8204 GB, free: 12.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-05/1.41, allocations: 40 kB / 0.8204 GB, free: 12.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.2438/1.654, allocations: 18.69 MB / 0.8387 GB, free: 106.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/1.654, allocations: 63.12 kB / 0.8387 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/1.654, allocations: 142.8 kB / 0.8389 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01662/1.671, allocations: 6.645 MB / 0.8454 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005879/1.677, allocations: 1.714 MB / 0.847 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04562/1.722, allocations: 35.41 MB / 0.8816 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006958/1.729, allocations: 0.5679 MB / 0.8822 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/1.731, allocations: 475.6 kB / 0.8826 GB, free: 100.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 852 * 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,67.9%) 100,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005863/1.737, allocations: 2.86 MB / 0.8854 GB, free: 99.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.738, allocations: 477.2 kB / 0.8859 GB, free: 99.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02499/1.763, allocations: 13.66 MB / 0.8992 GB, free: 94.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-05/1.763, allocations: 35.83 kB / 0.8992 GB, free: 94.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.498e-05/1.763, allocations: 29.28 kB / 0.8993 GB, free: 94.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.651e-05/1.763, allocations: 22.03 kB / 0.8993 GB, free: 94.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04665/1.81, allocations: 25.72 MB / 0.9244 GB, free: 81.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.607e-05/1.81, allocations: 0 / 0.9244 GB, free: 81.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/1.812, allocations: 0.5177 MB / 0.9249 GB, free: 80.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01687/1.829, allocations: 6.278 MB / 0.931 GB, free: 76.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/1.83, allocations: 67.7 kB / 0.9311 GB, free: 76.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0423/1.873, allocations: 32.67 MB / 0.963 GB, free: 44.37 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.873, allocations: 4 kB / 0.963 GB, free: 44.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03325/1.906, allocations: 19.66 MB / 0.9822 GB, free: 24.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.908, allocations: 0.5468 MB / 0.9827 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/1.91, allocations: 60 kB / 0.9828 GB, free: 24.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00391/1.913, allocations: 350.6 kB / 0.9831 GB, free: 23.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/1.915, allocations: 260.4 kB / 0.9834 GB, free: 23.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006381/1.916, allocations: 106.6 kB / 0.9835 GB, free: 23.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005989/1.922, allocations: 3.061 MB / 0.9865 GB, free: 20.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/1.922, allocations: 3.188 kB / 0.9865 GB, free: 20.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009401/1.931, allocations: 1.831 MB / 0.9883 GB, free: 18.52 MB / 474.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 215 * 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,70.3%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/1.932, allocations: 216.8 kB / 0.9885 GB, free: 18.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01794/1.95, allocations: 11.81 MB / 1 GB, free: 6.531 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.95, allocations: 0 / 1 GB, free: 6.531 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1975/2.148, allocations: 5.658 MB / 1.006 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005152/2.153, allocations: 0.6103 MB / 1.006 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02799/2.181, allocations: 18.43 MB / 1.024 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004593/2.185, allocations: 4.379 MB / 1.028 GB, free: 99.83 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005551/2.191, allocations: 2.396 MB / 1.031 GB, free: 99.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009886/2.192, allocations: 336.8 kB / 1.031 GB, free: 99.77 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/2.192, allocations: 0 / 1.031 GB, free: 99.77 MB / 474.7 MB Notification: Performance of Templates: time 0.1272/2.319, allocations: 88.96 MB / 1.118 GB, free: 50.96 MB / 474.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/jenkins1/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