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.002534/0.002534, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.347/2.347, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 98.59 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.793e-05, allocations: 7.984 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3478, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.4968, allocations: 88.62 MB / 451 MB, free: 13.66 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.4972, allocations: 87.95 kB / 451 MB, free: 13.57 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2689/0.7661, allocations: 58.5 MB / 0.4976 GB, free: 2.738 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7661, allocations: 0 / 0.4976 GB, free: 2.738 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001583/0.7663, allocations: 44 kB / 0.4976 GB, free: 2.695 MB / 395.1 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.2917/1.058, allocations: 2.918 MB / 0.5005 GB, free: 98.84 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/1.058, allocations: 10.94 kB / 0.5005 GB, free: 98.84 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/1.074, allocations: 1.939 MB / 0.5024 GB, free: 98.67 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/1.089, allocations: 3.458 MB / 0.5058 GB, free: 98.42 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/1.089, allocations: 79.33 kB / 0.5058 GB, free: 98.42 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001466/1.091, allocations: 142.5 kB / 0.506 GB, free: 98.42 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0113/1.102, allocations: 4.29 MB / 0.5102 GB, free: 98.4 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/1.118, allocations: 6.587 MB / 0.5166 GB, free: 96.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/1.118, allocations: 56 kB / 0.5167 GB, free: 96.17 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005467/1.119, allocations: 22.47 kB / 0.5167 GB, free: 96.17 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/1.12, allocations: 0.7323 MB / 0.5174 GB, free: 96.17 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04839/1.169, allocations: 35.63 MB / 0.5522 GB, free: 69.92 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/1.173, allocations: 2.32 MB / 0.5545 GB, free: 68.55 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/1.175, allocations: 1.361 MB / 0.5558 GB, free: 67.94 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009284/1.176, allocations: 0.6402 MB / 0.5564 GB, free: 67.34 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.176, allocations: 45.92 kB / 0.5565 GB, free: 67.29 MB / 395.1 MB Notification: Performance of pre-optimization done (n=120): time 4.989e-06/1.176, allocations: 0 / 0.5565 GB, free: 67.29 MB / 395.1 MB Notification: Performance of matching and sorting (n=152): time 0.07338/1.249, allocations: 15.82 MB / 0.5719 GB, free: 61.76 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/1.249, allocations: 148.1 kB / 0.572 GB, free: 61.59 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/1.254, allocations: 2.297 MB / 0.5743 GB, free: 59.56 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004799/1.254, allocations: 29.7 kB / 0.5743 GB, free: 59.53 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.255, allocations: 2.179 MB / 0.5764 GB, free: 57.52 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007862/1.256, allocations: 0.5803 MB / 0.577 GB, free: 57 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/1.257, allocations: 8.562 kB / 0.577 GB, free: 56.99 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002883/1.257, allocations: 0.5235 MB / 0.5775 GB, free: 56.52 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004208/1.261, allocations: 2.254 MB / 0.5797 GB, free: 54.51 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005739/1.267, allocations: 5.328 MB / 0.5849 GB, free: 47.97 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006859/1.274, allocations: 3.418 MB / 0.5883 GB, free: 45.06 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.249e-05/1.274, allocations: 28 kB / 0.5883 GB, free: 45.04 MB / 395.1 MB Notification: Performance of matching and sorting (n=664) (initialization): time 0.04055/1.315, allocations: 10.58 MB / 0.5986 GB, free: 35.03 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/1.315, allocations: 56.2 kB / 0.5987 GB, free: 34.97 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/1.315, allocations: 113.2 kB / 0.5988 GB, free: 34.86 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02507/1.34, allocations: 4.107 MB / 0.6028 GB, free: 30.73 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006815/1.347, allocations: 1.177 MB / 0.604 GB, free: 29.55 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0319/1.379, allocations: 12.67 MB / 0.6163 GB, free: 16.77 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006522/1.385, allocations: 263.4 kB / 0.6166 GB, free: 16.51 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.387, allocations: 357.5 kB / 0.6169 GB, free: 16.16 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 594 * 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.001269/1.388, allocations: 372.6 kB / 0.6173 GB, free: 15.79 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000739/1.389, allocations: 240.9 kB / 0.6175 GB, free: 15.55 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03109/1.42, allocations: 6.72 MB / 0.6241 GB, free: 8.785 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/1.42, allocations: 17.41 kB / 0.6241 GB, free: 8.77 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/1.42, allocations: 10 kB / 0.6241 GB, free: 8.762 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/1.42, allocations: 11.97 kB / 0.6241 GB, free: 8.75 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05349/1.474, allocations: 13.81 MB / 0.6376 GB, free: 10.91 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/1.474, allocations: 4.844 kB / 0.6376 GB, free: 10.91 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.476, allocations: 219.7 kB / 0.6378 GB, free: 10.69 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02911/1.505, allocations: 4.667 MB / 0.6424 GB, free: 6 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004992/1.505, allocations: 23.97 kB / 0.6424 GB, free: 5.977 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03673/1.542, allocations: 12.69 MB / 0.6548 GB, free: 9.168 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.542, allocations: 0 / 0.6548 GB, free: 9.168 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3148/1.857, allocations: 10.83 MB / 0.6653 GB, free: 117.6 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008759/1.858, allocations: 318.9 kB / 0.6657 GB, free: 117.5 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.859, allocations: 14.47 kB / 0.6657 GB, free: 117.5 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.863, allocations: 177.6 kB / 0.6658 GB, free: 117.5 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007459/1.863, allocations: 108.9 kB / 0.6659 GB, free: 117.5 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/1.864, allocations: 47.06 kB / 0.666 GB, free: 117.5 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.004291/1.868, allocations: 1.522 MB / 0.6675 GB, free: 117.4 MB / 427.1 MB Notification: Performance of sort global known variables: time 6.22e-07/1.868, allocations: 1.188 kB / 0.6675 GB, free: 117.4 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.00687/1.875, allocations: 0.7445 MB / 0.6682 GB, free: 117.4 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * 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.0008295/1.876, allocations: 151.1 kB / 0.6683 GB, free: 117.3 MB / 427.1 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 was selected as a continuous variable. [/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 was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01987/1.896, allocations: 6.515 MB / 0.6747 GB, free: 116.6 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.896, allocations: 1.281 kB / 0.6747 GB, free: 116.6 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01088/1.907, allocations: 3.152 MB / 0.6778 GB, free: 115.8 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.909, allocations: 220.2 kB / 0.678 GB, free: 115.8 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.926, allocations: 6.575 MB / 0.6844 GB, free: 114.8 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003877/1.93, allocations: 2.377 MB / 0.6867 GB, free: 114.1 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.931, allocations: 244.4 kB / 0.687 GB, free: 114.1 MB / 427.1 MB Notification: Performance of SimCode: time 8.61e-07/1.931, allocations: 2.625 kB / 0.687 GB, free: 114.1 MB / 427.1 MB Notification: Performance of Templates: time 0.1874/2.119, allocations: 122.5 MB / 0.8066 GB, free: 17.84 MB / 427.1 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