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.001543/0.001543, allocations: 181.9 kB / 13.66 MB, free: 1.664 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.997/1.997, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001052/0.001052, allocations: 94.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.227e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.09953, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4333/0.5328, allocations: 89.28 MB / 458.4 MB, free: 4.145 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004472/0.5334, allocations: 84.33 kB / 458.5 MB, free: 4.102 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2995/0.8329, allocations: 59.3 MB / 0.5056 GB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.833, allocations: 4 kB / 0.5056 GB, free: 10.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001616/0.8331, allocations: 44 kB / 0.5057 GB, free: 10.07 MB / 394.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.01466/0.8478, allocations: 2.928 MB / 0.5085 GB, free: 7.082 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.8479, allocations: 8.031 kB / 0.5085 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.8632, allocations: 1.939 MB / 0.5104 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/0.8775, allocations: 3.47 MB / 0.5138 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.8778, allocations: 180.8 kB / 0.514 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/0.8793, allocations: 239.9 kB / 0.5142 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.8994, allocations: 7.277 MB / 0.5213 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001904/0.8996, allocations: 51.47 kB / 0.5214 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008818/0.9005, allocations: 127.9 kB / 0.5215 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001776/0.9023, allocations: 0.73 MB / 0.5222 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.9216, allocations: 6.195 MB / 0.5283 GB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.336/1.258, allocations: 36.9 MB / 0.5643 GB, free: 77.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/1.27, allocations: 3.007 MB / 0.5672 GB, free: 76.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/1.273, allocations: 1.401 MB / 0.5686 GB, free: 76.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/1.284, allocations: 4.221 MB / 0.5727 GB, free: 74.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/1.284, allocations: 47.5 kB / 0.5728 GB, free: 74.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 6.182e-06/1.284, allocations: 0 / 0.5728 GB, free: 74.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.1334/1.417, allocations: 18.52 MB / 0.5908 GB, free: 70.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/1.417, allocations: 169.6 kB / 0.591 GB, free: 70.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008851/1.426, allocations: 2.573 MB / 0.5935 GB, free: 69.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006904/1.427, allocations: 49.11 kB / 0.5936 GB, free: 69.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003259/1.43, allocations: 2.112 MB / 0.5956 GB, free: 67.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001954/1.432, allocations: 0.5859 MB / 0.5962 GB, free: 67.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/1.433, allocations: 96.22 kB / 0.5963 GB, free: 67.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006731/1.434, allocations: 0.5151 MB / 0.5968 GB, free: 66.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008726/1.443, allocations: 2.308 MB / 0.5991 GB, free: 65.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007321/1.45, allocations: 5.25 MB / 0.6042 GB, free: 60.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00772/1.458, allocations: 3.425 MB / 0.6075 GB, free: 59.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/1.458, allocations: 31.06 kB / 0.6076 GB, free: 59.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.04353/1.502, allocations: 11.06 MB / 0.6184 GB, free: 53.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.853e-05/1.502, allocations: 52 kB / 0.6184 GB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/1.502, allocations: 104 kB / 0.6185 GB, free: 53.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02529/1.527, allocations: 4.118 MB / 0.6225 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006795/1.534, allocations: 1.115 MB / 0.6236 GB, free: 50.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03468/1.569, allocations: 13.68 MB / 0.637 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006847/1.576, allocations: 358.1 kB / 0.6373 GB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/1.577, allocations: 335.9 kB / 0.6376 GB, free: 35.7 MB / 410.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 () * 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.001301/1.578, allocations: 477.4 kB / 0.6381 GB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007938/1.579, allocations: 256.4 kB / 0.6383 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03227/1.612, allocations: 6.895 MB / 0.6451 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.705e-05/1.612, allocations: 20 kB / 0.6451 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/1.612, allocations: 8 kB / 0.6451 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-05/1.612, allocations: 7.969 kB / 0.6451 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05516/1.667, allocations: 14.2 MB / 0.659 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/1.667, allocations: 8.094 kB / 0.659 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/1.669, allocations: 231.6 kB / 0.6592 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02718/1.696, allocations: 4.67 MB / 0.6638 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005549/1.697, allocations: 43.95 kB / 0.6638 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03744/1.734, allocations: 13.78 MB / 0.6772 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.734, allocations: 4 kB / 0.6773 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3428/2.077, allocations: 11.02 MB / 0.688 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/2.079, allocations: 342.9 kB / 0.6883 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001563/2.08, allocations: 35.56 kB / 0.6884 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006258/2.087, allocations: 201.7 kB / 0.6886 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009499/2.088, allocations: 107.8 kB / 0.6887 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002898/2.088, allocations: 49.33 kB / 0.6887 GB, free: 109.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005402/2.093, allocations: 1.781 MB / 0.6905 GB, free: 109.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.91e-07/2.093, allocations: 1.375 kB / 0.6905 GB, free: 109.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006638/2.1, allocations: 0.8593 MB / 0.6913 GB, free: 109.1 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 () * 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.0009355/2.101, allocations: 172.4 kB / 0.6915 GB, free: 109 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 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.0207/2.122, allocations: 6.636 MB / 0.6979 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.122, allocations: 1.031 kB / 0.6979 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01187/2.134, allocations: 3.158 MB / 0.701 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/2.137, allocations: 262.7 kB / 0.7013 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/2.155, allocations: 6.653 MB / 0.7078 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004682/2.16, allocations: 2.385 MB / 0.7101 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/2.161, allocations: 250 kB / 0.7103 GB, free: 105.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/2.161, allocations: 3.906 kB / 0.7103 GB, free: 105.7 MB / 426.7 MB Notification: Performance of Templates: time 0.2023/2.363, allocations: 123.9 MB / 0.8313 GB, free: 11.97 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