Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001746/0.001746, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.556/1.556, allocations: 205.4 MB / 223.1 MB, free: 9.027 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.001007/0.001007, allocations: 94.89 kB / 271.5 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 8 kB / 328.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2678, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.3926, allocations: 89.37 MB / 465.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/0.393, allocations: 87.95 kB / 465.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4033/0.7964, allocations: 59.28 MB / 0.5123 GB, free: 94.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.7965, allocations: 0 / 0.5123 GB, free: 94.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001367/0.7966, allocations: 46.44 kB / 0.5123 GB, free: 94.64 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: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.01097/0.8076, allocations: 3.051 MB / 0.5153 GB, free: 93.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.8076, allocations: 8.281 kB / 0.5153 GB, free: 93.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007966/0.8156, allocations: 1.942 MB / 0.5172 GB, free: 93.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.8265, allocations: 3.484 MB / 0.5206 GB, free: 92.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.8268, allocations: 178.3 kB / 0.5208 GB, free: 92.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.8285, allocations: 245.3 kB / 0.521 GB, free: 92.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.843, allocations: 7.324 MB / 0.5281 GB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/0.8432, allocations: 51.47 kB / 0.5282 GB, free: 86.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000993/0.8443, allocations: 122.9 kB / 0.5283 GB, free: 86.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.8453, allocations: 0.7371 MB / 0.529 GB, free: 85.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.8554, allocations: 6.279 MB / 0.5352 GB, free: 79.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03413/0.8896, allocations: 36.92 MB / 0.5712 GB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005727/0.8954, allocations: 3.013 MB / 0.5742 GB, free: 38.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006148/0.9015, allocations: 4.22 MB / 0.5783 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.9016, allocations: 50.75 kB / 0.5783 GB, free: 33.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 4.639e-06/0.9016, allocations: 0 / 0.5783 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.07423/0.9759, allocations: 23.24 MB / 0.601 GB, free: 10.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.976, allocations: 167.2 kB / 0.6012 GB, free: 10.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006198/0.9823, allocations: 2.605 MB / 0.6037 GB, free: 7.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005717/0.9829, allocations: 49.7 kB / 0.6038 GB, free: 7.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.9844, allocations: 2.111 MB / 0.6058 GB, free: 5.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000866/0.9853, allocations: 0.5888 MB / 0.6064 GB, free: 5.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007319/0.9861, allocations: 96 kB / 0.6065 GB, free: 4.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006015/0.9867, allocations: 0.5086 MB / 0.607 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/0.9906, allocations: 2.344 MB / 0.6093 GB, free: 2.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00693/0.9975, allocations: 5.29 MB / 0.6144 GB, free: 11.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005514/1.003, allocations: 3.439 MB / 0.6178 GB, free: 7.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.633e-05/1.003, allocations: 28 kB / 0.6178 GB, free: 7.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.02863/1.032, allocations: 11.23 MB / 0.6288 GB, free: 12.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-05/1.032, allocations: 52 kB / 0.6288 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/1.032, allocations: 104 kB / 0.6289 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/1.047, allocations: 4.184 MB / 0.633 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/1.051, allocations: 1.123 MB / 0.6341 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/1.075, allocations: 14.24 MB / 0.648 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/1.08, allocations: 347.4 kB / 0.6484 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009808/1.081, allocations: 343.9 kB / 0.6487 GB, free: 8.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 565 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002848/1.084, allocations: 1.465 MB / 0.6501 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006277/1.085, allocations: 256.6 kB / 0.6504 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.256/1.341, allocations: 6.957 MB / 0.6572 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.239e-05/1.341, allocations: 15.34 kB / 0.6572 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/1.341, allocations: 11.56 kB / 0.6572 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.093e-05/1.341, allocations: 11.41 kB / 0.6572 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03297/1.374, allocations: 14.27 MB / 0.6711 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/1.374, allocations: 1.547 kB / 0.6711 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.375, allocations: 228.9 kB / 0.6714 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01433/1.389, allocations: 4.8 MB / 0.676 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004882/1.39, allocations: 55.19 kB / 0.6761 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/1.411, allocations: 14.38 MB / 0.6901 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.411, allocations: 7.922 kB / 0.6902 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02274/1.434, allocations: 11.13 MB / 0.701 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.435, allocations: 342.8 kB / 0.7013 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.436, allocations: 36.39 kB / 0.7014 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/1.439, allocations: 199.8 kB / 0.7016 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006016/1.439, allocations: 108.7 kB / 0.7017 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/1.44, allocations: 48.91 kB / 0.7017 GB, free: 114.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003306/1.443, allocations: 1.802 MB / 0.7035 GB, free: 112.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.443, allocations: 0 / 0.7035 GB, free: 112.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005096/1.448, allocations: 0.8641 MB / 0.7043 GB, free: 111.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (100): * Single equations (assignments): 90 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006519/1.449, allocations: 174.7 kB / 0.7045 GB, free: 111.3 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01091/1.46, allocations: 6.704 MB / 0.711 GB, free: 104.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.46, allocations: 0 / 0.711 GB, free: 104.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005745/1.465, allocations: 3.19 MB / 0.7142 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.468, allocations: 271 kB / 0.7144 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.484, allocations: 8.451 MB / 0.7227 GB, free: 92.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003444/1.487, allocations: 2.378 MB / 0.725 GB, free: 90.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004165/1.491, allocations: 1.561 MB / 0.7265 GB, free: 88.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/1.492, allocations: 203.4 kB / 0.7267 GB, free: 88.69 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/1.492, allocations: 0 / 0.7267 GB, free: 88.69 MB / 426.7 MB Notification: Performance of Templates: time 0.06208/1.554, allocations: 41.58 MB / 0.7673 GB, free: 47.32 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches