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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.001221, allocations: 116.1 kB / 16.63 MB, free: 6.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 193.9 kB / 17.55 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 51.16 kB / 300.1 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09678, allocations: 49.44 MB / 349.6 MB, free: 4.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01436/0.1112, allocations: 14.01 MB / 363.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1212, allocations: 4.319 MB / 367.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.124, allocations: 51.88 kB / 368 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.1265, allocations: 0.849 MB / 368.8 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.1306, allocations: 1.294 MB / 370.1 MB, free: 172 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1895/0.3202, allocations: 496.9 kB / 370.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006433/0.3266, allocations: 3.786 MB / 374.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.3296, allocations: 1.392 MB / 375.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.3317, allocations: 0.8354 MB / 376.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.3341, allocations: 1.385 MB / 378 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004889/0.3346, allocations: 178.1 kB / 378.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.3367, allocations: 0.9916 MB / 379.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.3382, allocations: 1.147 MB / 380.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.3398, allocations: 1.331 MB / 381.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.3449, allocations: 4.304 MB / 385.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3449, allocations: 0 / 385.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.345, allocations: 3.938 kB / 385.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001148/0.3451, allocations: 0 / 385.9 MB, free: 7.023 MB / 302.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.007096/0.3522, allocations: 3.262 MB / 389.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3522, allocations: 9.969 kB / 389.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/0.3579, allocations: 1.653 MB / 390.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.3611, allocations: 1.503 MB / 392.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.3612, allocations: 128 kB / 392.5 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.3615, allocations: 174.2 kB / 392.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008861/0.3704, allocations: 6.594 MB / 399.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-05/0.3705, allocations: 31.84 kB / 399.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.3708, allocations: 92.03 kB / 399.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002006/0.3728, allocations: 1.326 MB / 400.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.3837, allocations: 5.836 MB / 406.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03456/0.4183, allocations: 28.07 MB / 434.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006001/0.4243, allocations: 2.74 MB / 437.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.4259, allocations: 1.274 MB / 438.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000703/0.4266, allocations: 0.6303 MB / 439.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4267, allocations: 43.12 kB / 439.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.196e-06/0.4267, allocations: 0 / 439.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07372/0.5004, allocations: 20.55 MB / 459.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.5005, allocations: 149.4 kB / 460 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004612/0.5051, allocations: 2.828 MB / 462.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003791/0.5055, allocations: 45.7 kB / 462.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.5071, allocations: 2.113 MB / 465 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008261/0.5079, allocations: 0.6024 MB / 465.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/0.5098, allocations: 1.002 MB / 466.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.51, allocations: 305.1 kB / 466.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/0.5133, allocations: 2.227 MB / 469.1 MB, free: 7.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005416/0.5187, allocations: 5.187 MB / 474.3 MB, free: 1.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009519/0.5282, allocations: 7.984 MB / 482.3 MB, free: 7.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.5284, allocations: 36 kB / 482.3 MB, free: 7.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02377/0.5521, allocations: 10.31 MB / 492.6 MB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.5523, allocations: 48 kB / 492.7 MB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/0.5525, allocations: 108 kB / 492.8 MB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01205/0.5645, allocations: 3.43 MB / 496.2 MB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/0.5686, allocations: 1.103 MB / 497.3 MB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.5878, allocations: 12.86 MB / 0.4982 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/0.5919, allocations: 334 kB / 0.4985 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009441/0.5929, allocations: 315.9 kB / 0.4988 GB, free: 10.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (585): * Single equations (assignments): 575 * Array equations: 3 * 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.002802/0.5957, allocations: 1.461 MB / 0.5003 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/0.5963, allocations: 252.7 kB / 0.5005 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/0.6124, allocations: 5.993 MB / 0.5063 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/0.6125, allocations: 20 kB / 0.5064 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/0.6126, allocations: 8 kB / 0.5064 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/0.6126, allocations: 13 kB / 0.5064 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/0.6428, allocations: 13.18 MB / 0.5193 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/0.6429, allocations: 4 kB / 0.5193 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.6441, allocations: 231.8 kB / 0.5195 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01244/0.6566, allocations: 4.016 MB / 0.5234 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004305/0.657, allocations: 51.83 kB / 0.5235 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1996/0.8567, allocations: 12.82 MB / 0.536 GB, free: 147.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.8567, allocations: 3.703 kB / 0.536 GB, free: 147.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/0.8768, allocations: 9.894 MB / 0.5456 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/0.8777, allocations: 306.3 kB / 0.5459 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/0.8787, allocations: 36.22 kB / 0.546 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/0.881, allocations: 181.6 kB / 0.5461 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006138/0.8816, allocations: 119.5 kB / 0.5463 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/0.8819, allocations: 50.11 kB / 0.5463 GB, free: 143.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00324/0.8851, allocations: 1.754 MB / 0.548 GB, free: 143.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8852, allocations: 0 / 0.548 GB, free: 143.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004774/0.8899, allocations: 0.8266 MB / 0.5488 GB, free: 143.2 MB / 446.1 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 (104): * Single equations (assignments): 94 * Array equations: 3 * 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.0005796/0.8905, allocations: 173.9 kB / 0.549 GB, free: 143.1 MB / 446.1 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.01026/0.9008, allocations: 6.768 MB / 0.5556 GB, free: 139.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9008, allocations: 0 / 0.5556 GB, free: 139.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004337/0.9052, allocations: 2.863 MB / 0.5584 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.9075, allocations: 294.1 kB / 0.5587 GB, free: 136.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.9189, allocations: 8.519 MB / 0.567 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002522/0.9214, allocations: 2.314 MB / 0.5693 GB, free: 126.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003271/0.9247, allocations: 1.531 MB / 0.5707 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/0.9253, allocations: 187.4 kB / 0.5709 GB, free: 125.1 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9254, allocations: 0 / 0.5709 GB, free: 125.1 MB / 446.1 MB Notification: Performance of Templates: time 0.05308/0.9784, allocations: 41.14 MB / 0.6111 GB, free: 84.08 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches