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.001314/0.001314, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.001033/0.001033, allocations: 102.1 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000861/0.0008612, allocations: 35.95 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2786, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009927/0.2886, allocations: 14.01 MB / 413.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006781/0.2954, allocations: 4.413 MB / 417.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.2972, allocations: 55.88 kB / 418 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.2987, allocations: 0.8686 MB / 418.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.3009, allocations: 1.282 MB / 420.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.3018, allocations: 491.3 kB / 420.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00368/0.3055, allocations: 4.751 MB / 425.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.3067, allocations: 1.259 MB / 426.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007585/0.3075, allocations: 0.7158 MB / 427.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3086, allocations: 1.308 MB / 428.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.3088, allocations: 104 kB / 428.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3101, allocations: 0.9709 MB / 429.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006516/0.3107, allocations: 1.083 MB / 430.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007768/0.3115, allocations: 1.238 MB / 432 MB, free: 0.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.3151, allocations: 4.211 MB / 436.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3152, allocations: 0 / 436.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3152, allocations: 3.938 kB / 436.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.19e-05/0.3152, allocations: 0 / 436.2 MB, free: 12.48 MB / 314.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.005929/0.3212, allocations: 3.265 MB / 439.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3212, allocations: 8.031 kB / 439.5 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/0.3269, allocations: 1.655 MB / 441.2 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/0.3298, allocations: 1.495 MB / 442.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.432e-05/0.3299, allocations: 131.1 kB / 442.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.3302, allocations: 175.7 kB / 443 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008407/0.3386, allocations: 6.596 MB / 449.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.47e-05/0.3387, allocations: 35.66 kB / 449.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.3389, allocations: 87.89 kB / 449.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001825/0.3408, allocations: 1.327 MB / 451 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.3508, allocations: 5.832 MB / 456.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03123/0.3821, allocations: 28.08 MB / 484.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006708/0.3888, allocations: 2.737 MB / 487.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.3903, allocations: 1.266 MB / 488.9 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.3911, allocations: 0.6278 MB / 489.5 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.3911, allocations: 55 kB / 489.6 MB, free: 5.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.596e-06/0.3911, allocations: 0 / 489.6 MB, free: 5.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=154): time 0.06898/0.4601, allocations: 20.54 MB / 0.4982 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.4602, allocations: 141.5 kB / 0.4983 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1762/0.6365, allocations: 2.834 MB / 0.5011 GB, free: 98.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/0.6368, allocations: 45.61 kB / 0.5011 GB, free: 98.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009585/0.6378, allocations: 2.102 MB / 0.5032 GB, free: 96.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.6383, allocations: 0.6064 MB / 0.5038 GB, free: 96.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.6396, allocations: 1.003 MB / 0.5048 GB, free: 95.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.6396, allocations: 303.3 kB / 0.505 GB, free: 95.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/0.6426, allocations: 2.222 MB / 0.5072 GB, free: 94.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/0.646, allocations: 5.194 MB / 0.5123 GB, free: 89.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006302/0.6523, allocations: 7.99 MB / 0.5201 GB, free: 83.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-05/0.6524, allocations: 32 kB / 0.5201 GB, free: 83.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01945/0.6718, allocations: 10.31 MB / 0.5302 GB, free: 74.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.6719, allocations: 48 kB / 0.5302 GB, free: 74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.012e-05/0.672, allocations: 104 kB / 0.5303 GB, free: 73.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.6829, allocations: 3.425 MB / 0.5337 GB, free: 70.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.6859, allocations: 1.111 MB / 0.5348 GB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/0.7012, allocations: 12.01 MB / 0.5465 GB, free: 57.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/0.7051, allocations: 331.5 kB / 0.5468 GB, free: 56.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005908/0.7057, allocations: 304 kB / 0.5471 GB, free: 56.59 MB / 378.7 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.001733/0.7074, allocations: 1.473 MB / 0.5485 GB, free: 55.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/0.7078, allocations: 248.7 kB / 0.5488 GB, free: 54.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/0.7223, allocations: 5.998 MB / 0.5546 GB, free: 48.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/0.7223, allocations: 16 kB / 0.5546 GB, free: 48.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.7223, allocations: 8 kB / 0.5546 GB, free: 48.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.7224, allocations: 11.97 kB / 0.5547 GB, free: 48.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/0.7477, allocations: 13.19 MB / 0.5675 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.7477, allocations: 4 kB / 0.5675 GB, free: 35.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.7488, allocations: 235.6 kB / 0.5678 GB, free: 35.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01188/0.7607, allocations: 4.001 MB / 0.5717 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003155/0.761, allocations: 43.95 kB / 0.5717 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/0.776, allocations: 12.02 MB / 0.5835 GB, free: 19.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7761, allocations: 7.656 kB / 0.5835 GB, free: 19.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5837/1.36, allocations: 151.9 MB / 0.7318 GB, free: 87.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/1.36, allocations: 307.6 kB / 0.7321 GB, free: 86.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/1.361, allocations: 32 kB / 0.7321 GB, free: 86.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.362, allocations: 191 kB / 0.7323 GB, free: 86.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/1.363, allocations: 112.6 kB / 0.7324 GB, free: 86.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/1.363, allocations: 47.97 kB / 0.7324 GB, free: 86.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001984/1.365, allocations: 1.757 MB / 0.7341 GB, free: 84.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.365, allocations: 0 / 0.7341 GB, free: 84.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004664/1.369, allocations: 1.255 MB / 0.7354 GB, free: 83.49 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 (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.0004206/1.37, allocations: 158.4 kB / 0.7355 GB, free: 83.34 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.008604/1.379, allocations: 6.234 MB / 0.7416 GB, free: 77.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.379, allocations: 0 / 0.7416 GB, free: 77.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004392/1.383, allocations: 2.86 MB / 0.7444 GB, free: 74.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/1.385, allocations: 284.9 kB / 0.7447 GB, free: 73.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.405, allocations: 11.06 MB / 0.7555 GB, free: 62.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/1.408, allocations: 2.382 MB / 0.7578 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003895/1.412, allocations: 1.566 MB / 0.7593 GB, free: 58.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008158/1.413, allocations: 203.3 kB / 0.7595 GB, free: 58.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/1.413, allocations: 4 kB / 0.7595 GB, free: 58.48 MB / 442.7 MB Notification: Performance of Templates: time 0.3141/1.727, allocations: 70.8 MB / 0.8287 GB, free: 134 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@2/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