Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001824/0.001824, allocations: 205.9 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 250 MB, free: 9.098 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 75.81 kB / 367.4 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2614, allocations: 53.3 MB / 420.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009063/0.2704, allocations: 7.043 MB / 427.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006896/0.2773, allocations: 3.174 MB / 430.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.2784, allocations: 27.94 kB / 430.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.2808, allocations: 0.9145 MB / 431.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.2855, allocations: 1.374 MB / 433.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.2872, allocations: 0.5147 MB / 433.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005515/0.2928, allocations: 2.762 MB / 436.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.2946, allocations: 1.169 MB / 437.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.296, allocations: 0.8641 MB / 438.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.2992, allocations: 2.26 MB / 440.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004975/0.2997, allocations: 176 kB / 440.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.3019, allocations: 1.002 MB / 441.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001746/0.3037, allocations: 1.137 MB / 443.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.3058, allocations: 1.289 MB / 444.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00775/0.3135, allocations: 4.4 MB / 448.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3135, allocations: 4 kB / 448.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3135, allocations: 0 / 448.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001437/0.3137, allocations: 0 / 448.8 MB, free: 12.18 MB / 366.1 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.01287/0.3265, allocations: 3.424 MB / 452.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3266, allocations: 16.03 kB / 452.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.3326, allocations: 1.672 MB / 453.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.3355, allocations: 1.495 MB / 455.4 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.3356, allocations: 127.2 kB / 455.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/0.336, allocations: 171.8 kB / 455.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.346, allocations: 6.596 MB / 462.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/0.3461, allocations: 35.7 kB / 462.3 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.3463, allocations: 83.91 kB / 462.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/0.3484, allocations: 1.323 MB / 463.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.3589, allocations: 5.843 MB / 469.5 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03395/0.3929, allocations: 28.01 MB / 497.6 MB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006084/0.399, allocations: 2.703 MB / 0.4885 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.4006, allocations: 1.216 MB / 0.4897 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007365/0.4013, allocations: 0.6317 MB / 0.4903 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.4014, allocations: 43.12 kB / 0.4904 GB, free: 5.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.376e-06/0.4014, allocations: 4 kB / 0.4904 GB, free: 5 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07433/0.4757, allocations: 21.14 MB / 0.511 GB, free: 15.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4758, allocations: 175.2 kB / 0.5112 GB, free: 15.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/0.4795, allocations: 2.796 MB / 0.5139 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002569/0.4798, allocations: 45.7 kB / 0.514 GB, free: 12.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.4814, allocations: 2.171 MB / 0.5161 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009283/0.4823, allocations: 0.6512 MB / 0.5167 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.484, allocations: 1.012 MB / 0.5177 GB, free: 8.809 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4841, allocations: 309.1 kB / 0.518 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/0.4876, allocations: 2.227 MB / 0.5202 GB, free: 6.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005821/0.4934, allocations: 5.15 MB / 0.5252 GB, free: 15.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.5037, allocations: 7.966 MB / 0.533 GB, free: 6.246 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.716e-05/0.5038, allocations: 28 kB / 0.533 GB, free: 6.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.2574/0.7612, allocations: 10.29 MB / 0.5431 GB, free: 111.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.7613, allocations: 47.12 kB / 0.5431 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/0.7614, allocations: 106.4 kB / 0.5432 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01674/0.7781, allocations: 3.429 MB / 0.5466 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004745/0.7829, allocations: 1.087 MB / 0.5476 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02552/0.8084, allocations: 12.84 MB / 0.5602 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006034/0.8144, allocations: 331.4 kB / 0.5605 GB, free: 104.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009547/0.8154, allocations: 304 kB / 0.5608 GB, free: 104.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (577): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002954/0.8183, allocations: 1.469 MB / 0.5622 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008283/0.8192, allocations: 258.6 kB / 0.5624 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.8335, allocations: 5.975 MB / 0.5683 GB, free: 97.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/0.8336, allocations: 28 kB / 0.5683 GB, free: 97.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.8336, allocations: 8 kB / 0.5683 GB, free: 97.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.8336, allocations: 7.969 kB / 0.5683 GB, free: 97.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/0.8581, allocations: 13.19 MB / 0.5812 GB, free: 84.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/0.8581, allocations: 0.5 kB / 0.5812 GB, free: 84.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.8592, allocations: 231.7 kB / 0.5814 GB, free: 83.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01115/0.8703, allocations: 4.012 MB / 0.5853 GB, free: 79.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003596/0.8707, allocations: 47.95 kB / 0.5854 GB, free: 79.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.8859, allocations: 12.84 MB / 0.5979 GB, free: 66.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8859, allocations: 3.938 kB / 0.5979 GB, free: 66.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.9039, allocations: 10.06 MB / 0.6078 GB, free: 56.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.9044, allocations: 312.3 kB / 0.6081 GB, free: 56.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000596/0.905, allocations: 44.12 kB / 0.6081 GB, free: 56.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/0.9069, allocations: 191.6 kB / 0.6083 GB, free: 56.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/0.9074, allocations: 112.8 kB / 0.6084 GB, free: 56.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.9075, allocations: 51.97 kB / 0.6084 GB, free: 56.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002039/0.9095, allocations: 1.726 MB / 0.6101 GB, free: 54.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9095, allocations: 4 kB / 0.6101 GB, free: 54.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003409/0.913, allocations: 0.8114 MB / 0.6109 GB, free: 53.53 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003575/0.9133, allocations: 165.5 kB / 0.6111 GB, free: 53.37 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.1.0-beta.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.008155/0.9215, allocations: 6.027 MB / 0.617 GB, free: 47.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9215, allocations: 0 / 0.617 GB, free: 47.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004145/0.9256, allocations: 2.733 MB / 0.6196 GB, free: 44.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.9274, allocations: 296.4 kB / 0.6199 GB, free: 44.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009446/0.9369, allocations: 7.379 MB / 0.6271 GB, free: 36.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.9386, allocations: 2.318 MB / 0.6294 GB, free: 34.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002761/0.9414, allocations: 1.503 MB / 0.6309 GB, free: 32.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.9418, allocations: 194.9 kB / 0.631 GB, free: 32.64 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.9418, allocations: 0 / 0.631 GB, free: 32.64 MB / 462.1 MB Notification: Performance of Templates: time 0.05766/0.9994, allocations: 39.72 MB / 0.6698 GB, free: 9.078 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches