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.0009664/0.0009664, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.583/1.583, allocations: 205.2 MB / 219.8 MB, free: 14.22 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.0009134/0.0009134, allocations: 86.7 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.055e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.52, allocations: 89.28 MB / 459.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.5204, allocations: 79.33 kB / 459.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1583/0.6787, allocations: 59.31 MB / 0.5065 GB, free: 9.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.823e-06/0.6788, allocations: 0 / 0.5065 GB, free: 9.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001614/0.679, allocations: 44 kB / 0.5066 GB, free: 9.719 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.01138/0.6904, allocations: 2.924 MB / 0.5094 GB, free: 6.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.6904, allocations: 8.031 kB / 0.5094 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009278/0.6997, allocations: 1.939 MB / 0.5113 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.71, allocations: 3.463 MB / 0.5147 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.7102, allocations: 188.8 kB / 0.5149 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.7115, allocations: 239.9 kB / 0.5151 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.7272, allocations: 7.285 MB / 0.5222 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.7274, allocations: 47.53 kB / 0.5223 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005019/0.7279, allocations: 123.9 kB / 0.5224 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.7294, allocations: 0.7339 MB / 0.5231 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.7426, allocations: 6.202 MB / 0.5292 GB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3101/1.053, allocations: 36.89 MB / 0.5652 GB, free: 77.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007253/1.06, allocations: 3.004 MB / 0.5681 GB, free: 76.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/1.062, allocations: 1.404 MB / 0.5695 GB, free: 76.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006411/1.069, allocations: 4.221 MB / 0.5736 GB, free: 75.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.069, allocations: 49.05 kB / 0.5737 GB, free: 75.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 5.36e-06/1.069, allocations: 0 / 0.5737 GB, free: 75.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.05667/1.126, allocations: 18.51 MB / 0.5918 GB, free: 70.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/1.126, allocations: 178.2 kB / 0.5919 GB, free: 70.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/1.13, allocations: 2.573 MB / 0.5944 GB, free: 69.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004914/1.13, allocations: 49.95 kB / 0.5945 GB, free: 69.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.132, allocations: 2.11 MB / 0.5965 GB, free: 67.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007101/1.132, allocations: 0.5875 MB / 0.5971 GB, free: 67.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/1.133, allocations: 96.69 kB / 0.5972 GB, free: 67.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000265/1.133, allocations: 0.509 MB / 0.5977 GB, free: 67.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/1.136, allocations: 2.307 MB / 0.6 GB, free: 66.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/1.14, allocations: 5.256 MB / 0.6051 GB, free: 61.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/1.145, allocations: 3.426 MB / 0.6084 GB, free: 60.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-05/1.145, allocations: 27.47 kB / 0.6085 GB, free: 60.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.02484/1.169, allocations: 11.12 MB / 0.6193 GB, free: 54.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/1.17, allocations: 48 kB / 0.6194 GB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/1.17, allocations: 104 kB / 0.6195 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/1.184, allocations: 4.117 MB / 0.6235 GB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/1.188, allocations: 1.125 MB / 0.6246 GB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/1.208, allocations: 13.68 MB / 0.638 GB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005439/1.213, allocations: 352.4 kB / 0.6383 GB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000843/1.214, allocations: 338 kB / 0.6386 GB, free: 35.84 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.0008713/1.215, allocations: 484.2 kB / 0.6391 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/1.215, allocations: 248.7 kB / 0.6393 GB, free: 35.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/1.232, allocations: 6.903 MB / 0.646 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/1.232, allocations: 17.17 kB / 0.6461 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/1.233, allocations: 8 kB / 0.6461 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/1.233, allocations: 11.97 kB / 0.6461 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02924/1.262, allocations: 14.2 MB / 0.66 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.114e-05/1.262, allocations: 0 / 0.66 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.263, allocations: 219.7 kB / 0.6602 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/1.277, allocations: 4.681 MB / 0.6647 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003837/1.277, allocations: 51.95 kB / 0.6648 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/1.297, allocations: 13.76 MB / 0.6782 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.297, allocations: 4 kB / 0.6782 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3138/1.611, allocations: 11.02 MB / 0.689 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.613, allocations: 345.9 kB / 0.6893 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008189/1.613, allocations: 35.38 kB / 0.6893 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.615, allocations: 201 kB / 0.6895 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005765/1.616, allocations: 113 kB / 0.6896 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/1.616, allocations: 49.36 kB / 0.6897 GB, free: 109.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00442/1.621, allocations: 1.781 MB / 0.6914 GB, free: 109.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.621, allocations: 1.125 kB / 0.6914 GB, free: 109.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006388/1.627, allocations: 0.8619 MB / 0.6923 GB, free: 109.6 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.000607/1.628, allocations: 171.5 kB / 0.6924 GB, free: 109.5 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.01377/1.642, allocations: 6.631 MB / 0.6989 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.642, allocations: 1.031 kB / 0.6989 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007063/1.649, allocations: 3.159 MB / 0.702 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.651, allocations: 265.9 kB / 0.7023 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.662, allocations: 6.339 MB / 0.7084 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002405/1.665, allocations: 2.382 MB / 0.7108 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003762/1.669, allocations: 1.558 MB / 0.7123 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/1.669, allocations: 203.6 kB / 0.7125 GB, free: 106.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/1.669, allocations: 3.375 kB / 0.7125 GB, free: 106.1 MB / 426.7 MB Notification: Performance of Templates: time 0.06278/1.732, allocations: 41.38 MB / 0.7529 GB, free: 93.62 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