Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001466/0.001467, allocations: 186 kB / 16.4 MB, free: 5.746 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.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001084/0.001084, allocations: 94.05 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003862, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4644, allocations: 89.37 MB / 463.9 MB, free: 7.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.4648, allocations: 91.95 kB / 464 MB, free: 7.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5181/0.9829, allocations: 59.27 MB / 0.511 GB, free: 94.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.9829, allocations: 2.625 kB / 0.511 GB, free: 94.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001361/0.9831, allocations: 43.94 kB / 0.5111 GB, free: 94.4 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.01415/0.9972, allocations: 3.046 MB / 0.514 GB, free: 93.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.9973, allocations: 11.03 kB / 0.514 GB, free: 93.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/1.012, allocations: 1.942 MB / 0.5159 GB, free: 92.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/1.025, allocations: 3.482 MB / 0.5193 GB, free: 92.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/1.025, allocations: 177.1 kB / 0.5195 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/1.027, allocations: 257.8 kB / 0.5198 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/1.046, allocations: 7.316 MB / 0.5269 GB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/1.046, allocations: 51.47 kB / 0.5269 GB, free: 86.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/1.048, allocations: 133.1 kB / 0.5271 GB, free: 86.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/1.049, allocations: 0.7299 MB / 0.5278 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/1.066, allocations: 6.286 MB / 0.5339 GB, free: 79.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05006/1.117, allocations: 36.91 MB / 0.57 GB, free: 41.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/1.128, allocations: 3.018 MB / 0.5729 GB, free: 38.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00962/1.137, allocations: 4.215 MB / 0.577 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/1.137, allocations: 47.11 kB / 0.5771 GB, free: 34.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 5.911e-06/1.137, allocations: 0 / 0.5771 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.1367/1.274, allocations: 23.25 MB / 0.5998 GB, free: 10.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/1.274, allocations: 179.2 kB / 0.5999 GB, free: 10.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005313/1.28, allocations: 2.593 MB / 0.6025 GB, free: 7.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004921/1.28, allocations: 45.7 kB / 0.6025 GB, free: 7.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.282, allocations: 2.109 MB / 0.6046 GB, free: 5.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009596/1.283, allocations: 0.5842 MB / 0.6052 GB, free: 5.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007004/1.284, allocations: 96 kB / 0.6052 GB, free: 5.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002938/1.284, allocations: 0.5134 MB / 0.6057 GB, free: 4.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005502/1.289, allocations: 2.348 MB / 0.608 GB, free: 2.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008435/1.298, allocations: 5.29 MB / 0.6132 GB, free: 11.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008943/1.307, allocations: 3.434 MB / 0.6166 GB, free: 8.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-05/1.307, allocations: 36 kB / 0.6166 GB, free: 7.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.04817/1.355, allocations: 11.16 MB / 0.6275 GB, free: 12.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.355, allocations: 52.03 kB / 0.6275 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/1.356, allocations: 104 kB / 0.6276 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02798/1.383, allocations: 4.183 MB / 0.6317 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007134/1.391, allocations: 1.13 MB / 0.6328 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04229/1.433, allocations: 14.24 MB / 0.6467 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006612/1.44, allocations: 355.4 kB / 0.6471 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/1.441, allocations: 335.9 kB / 0.6474 GB, free: 8.242 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.004559/1.446, allocations: 1.465 MB / 0.6488 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008946/1.447, allocations: 256.7 kB / 0.6491 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3089/1.756, allocations: 6.962 MB / 0.6559 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.886e-05/1.756, allocations: 19.09 kB / 0.6559 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-05/1.756, allocations: 11.31 kB / 0.6559 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.821e-05/1.756, allocations: 4.828 kB / 0.6559 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05524/1.811, allocations: 14.27 MB / 0.6698 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/1.811, allocations: 0 / 0.6698 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/1.813, allocations: 232.7 kB / 0.6701 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02755/1.841, allocations: 4.802 MB / 0.6747 GB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004989/1.841, allocations: 47.14 kB / 0.6748 GB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03631/1.878, allocations: 14.38 MB / 0.6888 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.878, allocations: 4.031 kB / 0.6888 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04139/1.919, allocations: 11.13 MB / 0.6997 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.92, allocations: 340 kB / 0.7 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.921, allocations: 38.3 kB / 0.7001 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003715/1.925, allocations: 197.2 kB / 0.7002 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008696/1.926, allocations: 117.3 kB / 0.7004 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/1.926, allocations: 50.84 kB / 0.7004 GB, free: 114.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004559/1.931, allocations: 1.806 MB / 0.7022 GB, free: 112.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.931, allocations: 0 / 0.7022 GB, free: 112.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006288/1.937, allocations: 0.8598 MB / 0.703 GB, free: 111.7 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.0008526/1.938, allocations: 174.2 kB / 0.7032 GB, free: 111.6 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.01859/1.957, allocations: 6.717 MB / 0.7097 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.957, allocations: 0 / 0.7097 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01023/1.967, allocations: 3.187 MB / 0.7128 GB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.969, allocations: 260.9 kB / 0.7131 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.987, allocations: 8.763 MB / 0.7217 GB, free: 92.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003077/1.99, allocations: 2.388 MB / 0.724 GB, free: 90.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.991, allocations: 254.7 kB / 0.7242 GB, free: 90.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/1.991, allocations: 0 / 0.7242 GB, free: 90.15 MB / 426.7 MB Notification: Performance of Templates: time 0.5012/2.493, allocations: 123.9 MB / 0.8453 GB, free: 112.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches