Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.347/1.347, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008485/0.0008486, allocations: 94.75 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2553, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3676, allocations: 90.85 MB / 492.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.3679, allocations: 87.95 kB / 492.4 MB, free: 5.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3189/0.6868, allocations: 60.09 MB / 0.5396 GB, free: 73.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.6868, allocations: 0 / 0.5396 GB, free: 73.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.179e-05/0.6869, allocations: 44 kB / 0.5396 GB, free: 73.57 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.006966/0.6939, allocations: 3.042 MB / 0.5426 GB, free: 70.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6939, allocations: 12.03 kB / 0.5426 GB, free: 70.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007392/0.7013, allocations: 1.935 MB / 0.5445 GB, free: 68.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008183/0.7095, allocations: 3.318 MB / 0.5477 GB, free: 65.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.7097, allocations: 184.8 kB / 0.5479 GB, free: 64.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008081/0.7105, allocations: 240.9 kB / 0.5481 GB, free: 64.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009192/0.7197, allocations: 7.335 MB / 0.5553 GB, free: 56.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.292e-05/0.7198, allocations: 43.62 kB / 0.5553 GB, free: 56.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/0.7202, allocations: 123.9 kB / 0.5555 GB, free: 56.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007914/0.721, allocations: 0.7338 MB / 0.5562 GB, free: 55.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009419/0.7304, allocations: 6.287 MB / 0.5623 GB, free: 49.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/0.7626, allocations: 36.86 MB / 0.5983 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005902/0.7686, allocations: 3.023 MB / 0.6013 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005845/0.7744, allocations: 4.187 MB / 0.6054 GB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.7745, allocations: 55.05 kB / 0.6054 GB, free: 3.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 4.188e-06/0.7745, allocations: 0 / 0.6054 GB, free: 3.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.07842/0.8529, allocations: 23.19 MB / 0.6281 GB, free: 12.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/0.8531, allocations: 167.2 kB / 0.6282 GB, free: 12.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/0.8576, allocations: 2.581 MB / 0.6307 GB, free: 9.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004361/0.8581, allocations: 49.7 kB / 0.6308 GB, free: 9.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.8596, allocations: 2.114 MB / 0.6328 GB, free: 7.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008374/0.8605, allocations: 0.5863 MB / 0.6334 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.8608, allocations: 96 kB / 0.6335 GB, free: 6.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003105/0.8611, allocations: 0.5086 MB / 0.634 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/0.8646, allocations: 2.348 MB / 0.6363 GB, free: 3.766 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00669/0.8713, allocations: 5.29 MB / 0.6415 GB, free: 12.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006304/0.8777, allocations: 3.442 MB / 0.6448 GB, free: 9.551 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.333e-05/0.8778, allocations: 32 kB / 0.6449 GB, free: 9.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.03167/0.9095, allocations: 11.23 MB / 0.6558 GB, free: 14.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.9096, allocations: 50.34 kB / 0.6559 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.9098, allocations: 108 kB / 0.656 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/0.925, allocations: 4.18 MB / 0.6601 GB, free: 9.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/0.9291, allocations: 1.115 MB / 0.6611 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2622/1.191, allocations: 14.25 MB / 0.6751 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/1.196, allocations: 355.6 kB / 0.6754 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008379/1.197, allocations: 335.5 kB / 0.6757 GB, free: 123.3 MB / 442.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.002553/1.199, allocations: 1.463 MB / 0.6771 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005619/1.2, allocations: 253.4 kB / 0.6774 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/1.219, allocations: 6.956 MB / 0.6842 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-05/1.219, allocations: 19.69 kB / 0.6842 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.69e-05/1.219, allocations: 11.5 kB / 0.6842 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/1.219, allocations: 11.5 kB / 0.6842 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03014/1.249, allocations: 14.28 MB / 0.6982 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/1.249, allocations: 3.125 kB / 0.6982 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.25, allocations: 225.3 kB / 0.6984 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01505/1.265, allocations: 4.803 MB / 0.7031 GB, free: 118.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003907/1.266, allocations: 47.55 kB / 0.7031 GB, free: 118.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/1.286, allocations: 14.38 MB / 0.7172 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.286, allocations: 11.08 kB / 0.7172 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02246/1.308, allocations: 11.13 MB / 0.728 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.309, allocations: 339.1 kB / 0.7284 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008481/1.31, allocations: 32 kB / 0.7284 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/1.312, allocations: 204.4 kB / 0.7286 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005049/1.313, allocations: 107 kB / 0.7287 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.313, allocations: 47.97 kB / 0.7287 GB, free: 100.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00287/1.316, allocations: 1.797 MB / 0.7305 GB, free: 99 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.316, allocations: 0 / 0.7305 GB, free: 99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00452/1.321, allocations: 0.8647 MB / 0.7313 GB, free: 98.15 MB / 442.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.0005538/1.321, allocations: 176.2 kB / 0.7315 GB, free: 98 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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.01097/1.332, allocations: 6.706 MB / 0.7381 GB, free: 91.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.332, allocations: 2.406 kB / 0.7381 GB, free: 91.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005843/1.338, allocations: 3.195 MB / 0.7412 GB, free: 88.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.34, allocations: 259.3 kB / 0.7414 GB, free: 87.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/1.352, allocations: 8.44 MB / 0.7497 GB, free: 79.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/1.355, allocations: 2.368 MB / 0.752 GB, free: 77.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003528/1.359, allocations: 1.565 MB / 0.7535 GB, free: 75.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/1.359, allocations: 203.4 kB / 0.7537 GB, free: 75.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/1.359, allocations: 0 / 0.7537 GB, free: 75.49 MB / 442.7 MB Notification: Performance of Templates: time 0.05217/1.411, allocations: 41.57 MB / 0.7943 GB, free: 34.32 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches