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.0009046/0.0009045, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.295/1.295, allocations: 223.3 MB / 241.4 MB, free: 9.996 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.0007668/0.0007668, allocations: 97.58 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003012, allocations: 11.94 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2543, allocations: 50.41 MB / 402.7 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.4003, allocations: 90.96 MB / 493.7 MB, free: 5.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.4007, allocations: 95.89 kB / 493.8 MB, free: 5.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4552/0.8559, allocations: 58.94 MB / 0.5398 GB, free: 74.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.856, allocations: 0 / 0.5398 GB, free: 74.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001289/0.8561, allocations: 55.94 kB / 0.5398 GB, free: 74.33 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.01218/0.8683, allocations: 2.993 MB / 0.5428 GB, free: 71.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.8684, allocations: 12.03 kB / 0.5428 GB, free: 71.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.88, allocations: 1.904 MB / 0.5446 GB, free: 69.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005699/0.8858, allocations: 2.227 MB / 0.5468 GB, free: 67.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.8859, allocations: 181.1 kB / 0.547 GB, free: 66.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006615/0.8866, allocations: 252.1 kB / 0.5472 GB, free: 66.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.8986, allocations: 7.293 MB / 0.5543 GB, free: 58.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.8987, allocations: 43.81 kB / 0.5544 GB, free: 58.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004484/0.8992, allocations: 131.9 kB / 0.5545 GB, free: 58.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001059/0.9003, allocations: 0.7339 MB / 0.5552 GB, free: 57.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.9122, allocations: 6.24 MB / 0.5613 GB, free: 51.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03809/0.9504, allocations: 36.85 MB / 0.5973 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007553/0.9579, allocations: 3.011 MB / 0.6003 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.96, allocations: 1.414 MB / 0.6016 GB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006777/0.9668, allocations: 4.467 MB / 0.606 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.9669, allocations: 51.11 kB / 0.606 GB, free: 3.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=113): time 4.228e-06/0.9669, allocations: 3.938 kB / 0.606 GB, free: 3.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.08772/1.055, allocations: 22.44 MB / 0.628 GB, free: 13.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.055, allocations: 141.6 kB / 0.6281 GB, free: 13.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007223/1.062, allocations: 2.903 MB / 0.6309 GB, free: 10.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004433/1.062, allocations: 49.7 kB / 0.631 GB, free: 10.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.065, allocations: 2.118 MB / 0.633 GB, free: 8.102 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009365/1.066, allocations: 0.5786 MB / 0.6336 GB, free: 7.516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/1.066, allocations: 96 kB / 0.6337 GB, free: 7.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004262/1.066, allocations: 0.5086 MB / 0.6342 GB, free: 6.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005473/1.072, allocations: 2.34 MB / 0.6365 GB, free: 4.559 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008112/1.08, allocations: 5.314 MB / 0.6417 GB, free: 13.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/1.096, allocations: 8.207 MB / 0.6497 GB, free: 4.086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/1.096, allocations: 28 kB / 0.6497 GB, free: 4.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.03962/1.135, allocations: 11.23 MB / 0.6607 GB, free: 8.789 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/1.135, allocations: 48.94 kB / 0.6607 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.136, allocations: 104 kB / 0.6608 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01525/1.151, allocations: 4.176 MB / 0.6649 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/1.155, allocations: 1.119 MB / 0.666 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2261/1.381, allocations: 13.76 MB / 0.6794 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/1.385, allocations: 348.5 kB / 0.6798 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009932/1.386, allocations: 344.4 kB / 0.6801 GB, free: 125.7 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.00257/1.389, allocations: 1.472 MB / 0.6815 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/1.389, allocations: 253.2 kB / 0.6818 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.406, allocations: 6.945 MB / 0.6886 GB, free: 123.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-05/1.406, allocations: 19.78 kB / 0.6886 GB, free: 123.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.503e-05/1.406, allocations: 15.31 kB / 0.6886 GB, free: 123.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/1.406, allocations: 7.312 kB / 0.6886 GB, free: 123.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02791/1.434, allocations: 14.14 MB / 0.7024 GB, free: 119.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/1.434, allocations: 0 / 0.7024 GB, free: 119.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.435, allocations: 225.1 kB / 0.7026 GB, free: 119.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01328/1.448, allocations: 4.805 MB / 0.7073 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003013/1.448, allocations: 40.42 kB / 0.7073 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/1.466, allocations: 13.89 MB / 0.7209 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.466, allocations: 4 kB / 0.7209 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/1.486, allocations: 10.96 MB / 0.7316 GB, free: 97.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009163/1.487, allocations: 345.8 kB / 0.7319 GB, free: 97.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/1.488, allocations: 34.08 kB / 0.732 GB, free: 97.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.489, allocations: 203.6 kB / 0.7322 GB, free: 97.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004069/1.49, allocations: 104.1 kB / 0.7323 GB, free: 97.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.49, allocations: 49.09 kB / 0.7323 GB, free: 97.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002344/1.492, allocations: 1.807 MB / 0.7341 GB, free: 95.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.492, allocations: 0 / 0.7341 GB, free: 95.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003598/1.496, allocations: 0.8582 MB / 0.7349 GB, free: 94.43 MB / 442.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 87 * 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.0003924/1.496, allocations: 165.8 kB / 0.7351 GB, free: 94.29 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.00932/1.506, allocations: 6.698 MB / 0.7416 GB, free: 87.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.506, allocations: 0 / 0.7416 GB, free: 87.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004961/1.511, allocations: 3.18 MB / 0.7447 GB, free: 84.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/1.513, allocations: 287.2 kB / 0.745 GB, free: 84.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009938/1.523, allocations: 8.434 MB / 0.7532 GB, free: 75.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/1.524, allocations: 2.319 MB / 0.7555 GB, free: 73.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003381/1.528, allocations: 1.558 MB / 0.757 GB, free: 72.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/1.528, allocations: 195.4 kB / 0.7572 GB, free: 71.82 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/1.528, allocations: 4 kB / 0.7572 GB, free: 71.82 MB / 442.7 MB Notification: Performance of Templates: time 0.05476/1.583, allocations: 41.6 MB / 0.7978 GB, free: 30.62 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/jenkins1/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