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.001075/0.001075, allocations: 111.2 kB / 17.68 MB, free: 5.332 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.0009431/0.0009431, allocations: 192 kB / 18.62 MB, free: 4.41 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.305/1.305, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 51.41 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1019, allocations: 49.44 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008421/0.1103, allocations: 7.036 MB / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.1162, allocations: 3.138 MB / 361.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.1169, allocations: 35.88 kB / 361.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.1186, allocations: 0.8912 MB / 362.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.1212, allocations: 1.376 MB / 364 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.1221, allocations: 0.5186 MB / 364.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.1249, allocations: 2.727 MB / 367.2 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.1262, allocations: 1.322 MB / 368.5 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008597/0.1271, allocations: 0.8563 MB / 369.4 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1891/0.3162, allocations: 2.021 MB / 371.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008913/0.3171, allocations: 178.6 kB / 371.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.3197, allocations: 0.9741 MB / 372.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.3211, allocations: 1.126 MB / 373.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.3228, allocations: 1.302 MB / 375 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007936/0.3308, allocations: 4.429 MB / 379.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3309, allocations: 2.875 kB / 379.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3309, allocations: 1.25 kB / 379.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001843/0.3311, allocations: 0.625 kB / 379.4 MB, free: 11.23 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.01059/0.3417, allocations: 3.264 MB / 382.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.3417, allocations: 9.156 kB / 382.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006134/0.3479, allocations: 1.646 MB / 384.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/0.3521, allocations: 1.528 MB / 385.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.3522, allocations: 124.5 kB / 386 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/0.3527, allocations: 173.9 kB / 386.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00997/0.3627, allocations: 6.604 MB / 392.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.843e-05/0.3628, allocations: 30.72 kB / 392.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/0.3631, allocations: 86.55 kB / 392.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001831/0.3649, allocations: 1.327 MB / 394.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009477/0.3744, allocations: 5.844 MB / 400.1 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03358/0.4081, allocations: 27.95 MB / 428 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006132/0.4142, allocations: 2.79 MB / 430.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.416, allocations: 1.31 MB / 432.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007502/0.4168, allocations: 0.6346 MB / 432.7 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.4168, allocations: 50.3 kB / 432.8 MB, free: 296 kB / 334.1 MB Notification: Performance of pre-optimization done (n=129): time 3.817e-06/0.4168, allocations: 0 / 432.8 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=163): time 0.07046/0.4873, allocations: 21 MB / 453.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.4875, allocations: 175.2 kB / 454 MB, free: 11.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004077/0.4915, allocations: 2.792 MB / 456.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003419/0.4919, allocations: 45.7 kB / 456.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.4933, allocations: 2.081 MB / 458.9 MB, free: 6.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007048/0.494, allocations: 0.6253 MB / 459.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/0.4954, allocations: 1.003 MB / 460.5 MB, free: 4.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.4955, allocations: 309.1 kB / 460.8 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/0.4985, allocations: 2.227 MB / 463 MB, free: 1.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005027/0.5035, allocations: 5.156 MB / 468.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/0.5125, allocations: 7.972 MB / 476.2 MB, free: 2.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-05/0.5126, allocations: 28 kB / 476.2 MB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02343/0.5361, allocations: 10.29 MB / 486.5 MB, free: 7.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/0.5362, allocations: 48 kB / 486.5 MB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/0.5363, allocations: 104 kB / 486.6 MB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/0.5478, allocations: 3.434 MB / 490.1 MB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/0.5517, allocations: 1.092 MB / 491.1 MB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.5706, allocations: 12.86 MB / 0.4922 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004012/0.5746, allocations: 331.5 kB / 0.4925 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008244/0.5754, allocations: 311.2 kB / 0.4928 GB, free: 5.504 MB / 414.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.002714/0.5782, allocations: 1.469 MB / 0.4942 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.5788, allocations: 248.7 kB / 0.4945 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/0.5942, allocations: 5.994 MB / 0.5003 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/0.5943, allocations: 34.48 kB / 0.5004 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-05/0.5944, allocations: 8 kB / 0.5004 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.174e-05/0.5944, allocations: 3.984 kB / 0.5004 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02938/0.6238, allocations: 13.2 MB / 0.5133 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.6239, allocations: 3.938 kB / 0.5133 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.625, allocations: 235.7 kB / 0.5135 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/0.6372, allocations: 4.012 MB / 0.5174 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/0.6375, allocations: 46.38 kB / 0.5175 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.205/0.8426, allocations: 12.82 MB / 0.53 GB, free: 150.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8426, allocations: 0.6875 kB / 0.53 GB, free: 150.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02016/0.8628, allocations: 10.08 MB / 0.5398 GB, free: 148.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.8636, allocations: 298.5 kB / 0.5401 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/0.864, allocations: 36.33 kB / 0.5401 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.8655, allocations: 189.2 kB / 0.5403 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/0.8659, allocations: 118.8 kB / 0.5404 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.8661, allocations: 55.56 kB / 0.5405 GB, free: 148.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002215/0.8683, allocations: 1.732 MB / 0.5422 GB, free: 148 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8683, allocations: 0 / 0.5422 GB, free: 148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003801/0.8721, allocations: 0.8297 MB / 0.543 GB, free: 147.9 MB / 446.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.0004281/0.8726, allocations: 160.3 kB / 0.5431 GB, free: 147.8 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.008496/0.8811, allocations: 6.277 MB / 0.5493 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8811, allocations: 0 / 0.5493 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004013/0.8851, allocations: 2.902 MB / 0.5521 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.887, allocations: 298.8 kB / 0.5524 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/0.8957, allocations: 7.297 MB / 0.5595 GB, free: 139.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.8974, allocations: 2.315 MB / 0.5618 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002607/0.9, allocations: 1.511 MB / 0.5633 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.9005, allocations: 199.4 kB / 0.5634 GB, free: 136.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.9005, allocations: 0 / 0.5634 GB, free: 136.3 MB / 446.1 MB Notification: Performance of Templates: time 0.04694/0.9474, allocations: 36.93 MB / 0.5995 GB, free: 99.64 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 -s cvode -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","/var/lib/jenkins1/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