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.001447/0.001447, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.351/1.351, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008505, allocations: 91.61 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.921e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.42 MB / 394.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.497, allocations: 90.77 MB / 485 MB, free: 12.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.4974, allocations: 87.78 kB / 485.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1563/0.6536, allocations: 60.12 MB / 0.5324 GB, free: 88 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6537, allocations: 0 / 0.5324 GB, free: 88 kB / 410.7 MB Notification: Performance of Transformations before backend: time 8.972e-05/0.6538, allocations: 48 kB / 0.5325 GB, free: 40 kB / 410.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.009604/0.6634, allocations: 2.912 MB / 0.5353 GB, free: 13.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.6635, allocations: 8.031 kB / 0.5353 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008604/0.6721, allocations: 1.942 MB / 0.5372 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009597/0.6817, allocations: 3.302 MB / 0.5405 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.682, allocations: 184.8 kB / 0.5406 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008717/0.6828, allocations: 248.2 kB / 0.5409 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.306/0.9889, allocations: 7.272 MB / 0.548 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.9891, allocations: 47.64 kB / 0.548 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004924/0.9896, allocations: 129.8 kB / 0.5482 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/0.9908, allocations: 0.7324 MB / 0.5489 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/1.004, allocations: 6.199 MB / 0.5549 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/1.041, allocations: 36.87 MB / 0.5909 GB, free: 77.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006101/1.047, allocations: 3.009 MB / 0.5939 GB, free: 76.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/1.049, allocations: 1.412 MB / 0.5952 GB, free: 76.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005224/1.054, allocations: 4.186 MB / 0.5993 GB, free: 73.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.054, allocations: 49.12 kB / 0.5994 GB, free: 73.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=116): time 3.266e-06/1.054, allocations: 0 / 0.5994 GB, free: 73.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.05367/1.108, allocations: 18.47 MB / 0.6174 GB, free: 69.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.108, allocations: 170.3 kB / 0.6176 GB, free: 68.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/1.111, allocations: 2.562 MB / 0.6201 GB, free: 67.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003546/1.112, allocations: 48.64 kB / 0.6201 GB, free: 67.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/1.113, allocations: 2.111 MB / 0.6222 GB, free: 66.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005136/1.113, allocations: 0.5943 MB / 0.6228 GB, free: 65.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/1.114, allocations: 95.98 kB / 0.6229 GB, free: 65.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/1.114, allocations: 0.5114 MB / 0.6234 GB, free: 65.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/1.116, allocations: 2.305 MB / 0.6256 GB, free: 64.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/1.12, allocations: 5.254 MB / 0.6307 GB, free: 59.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/1.125, allocations: 3.427 MB / 0.6341 GB, free: 58.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.605e-05/1.125, allocations: 28 kB / 0.6341 GB, free: 58.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.02337/1.148, allocations: 11.12 MB / 0.645 GB, free: 49.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/1.148, allocations: 52 kB / 0.645 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-05/1.148, allocations: 106.5 kB / 0.6451 GB, free: 49.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01262/1.161, allocations: 4.11 MB / 0.6491 GB, free: 45.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/1.165, allocations: 1.119 MB / 0.6502 GB, free: 44.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/1.184, allocations: 13.68 MB / 0.6636 GB, free: 30.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005604/1.19, allocations: 360.6 kB / 0.6639 GB, free: 30.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009797/1.191, allocations: 335.9 kB / 0.6643 GB, free: 29.75 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 () * 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.001007/1.192, allocations: 474.2 kB / 0.6647 GB, free: 29.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005222/1.192, allocations: 248.8 kB / 0.6649 GB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.209, allocations: 6.896 MB / 0.6717 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.146e-05/1.21, allocations: 21.66 kB / 0.6717 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.591e-05/1.21, allocations: 15.95 kB / 0.6717 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/1.21, allocations: 11.91 kB / 0.6717 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02893/1.239, allocations: 14.18 MB / 0.6856 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-05/1.239, allocations: 7.938 kB / 0.6856 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.24, allocations: 223.7 kB / 0.6858 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/1.253, allocations: 4.685 MB / 0.6904 GB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004458/1.254, allocations: 44.75 kB / 0.6904 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/1.274, allocations: 13.77 MB / 0.7039 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.274, allocations: 4 kB / 0.7039 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2852/1.56, allocations: 11.01 MB / 0.7146 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.561, allocations: 340.6 kB / 0.7149 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005126/1.561, allocations: 40.09 kB / 0.715 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.563, allocations: 199.5 kB / 0.7152 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/1.564, allocations: 103.8 kB / 0.7153 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.564, allocations: 50.7 kB / 0.7153 GB, free: 110 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003237/1.567, allocations: 1.768 MB / 0.717 GB, free: 109.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.567, allocations: 5.75 kB / 0.717 GB, free: 109.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004825/1.572, allocations: 0.8613 MB / 0.7179 GB, free: 109.9 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 () * 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.0005291/1.573, allocations: 170 kB / 0.7181 GB, free: 109.8 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 was selected as a continuous variable. [/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 was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01232/1.585, allocations: 6.64 MB / 0.7245 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.585, allocations: 0 / 0.7245 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006113/1.591, allocations: 3.158 MB / 0.7276 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.593, allocations: 263 kB / 0.7279 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/1.603, allocations: 6.335 MB / 0.7341 GB, free: 107.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/1.605, allocations: 2.37 MB / 0.7364 GB, free: 106.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003677/1.609, allocations: 1.56 MB / 0.7379 GB, free: 106.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/1.609, allocations: 202.6 kB / 0.7381 GB, free: 106.5 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/1.609, allocations: 0 / 0.7381 GB, free: 106.5 MB / 442.7 MB Notification: Performance of Templates: time 0.05909/1.669, allocations: 41.37 MB / 0.7785 GB, free: 92 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