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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,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") [Timeout 660] "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.001901/0.001901, allocations: 67.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2169, allocations: 53.3 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009081/0.226, allocations: 7.078 MB / 439.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.2319, allocations: 3.197 MB / 442.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.2324, allocations: 31.94 kB / 442.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.2343, allocations: 0.9145 MB / 443.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.237, allocations: 1.365 MB / 444.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2381, allocations: 0.5186 MB / 445.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003403/0.2415, allocations: 2.757 MB / 447.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.243, allocations: 1.083 MB / 449 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009859/0.2439, allocations: 0.8564 MB / 449.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.2467, allocations: 2.256 MB / 452.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.247, allocations: 183.9 kB / 452.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.2487, allocations: 0.9945 MB / 453.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.2498, allocations: 1.137 MB / 454.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.2511, allocations: 1.297 MB / 455.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004895/0.256, allocations: 4.402 MB / 460.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.256, allocations: 0 / 460.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.256, allocations: 0 / 460.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.678e-05/0.256, allocations: 0 / 460.1 MB, free: 11.2 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.007799/0.2638, allocations: 3.424 MB / 463.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2639, allocations: 8.031 kB / 463.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006304/0.2702, allocations: 1.668 MB / 465.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.2735, allocations: 1.499 MB / 466.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2736, allocations: 127.2 kB / 466.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.274, allocations: 171.8 kB / 467 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009571/0.2835, allocations: 6.6 MB / 473.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.2836, allocations: 31.75 kB / 473.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/0.2839, allocations: 87.89 kB / 473.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.286, allocations: 1.323 MB / 475.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009935/0.296, allocations: 5.847 MB / 480.9 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03295/0.3289, allocations: 28 MB / 0.497 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/0.3353, allocations: 2.718 MB / 0.4996 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.337, allocations: 1.22 MB / 0.5008 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007946/0.3378, allocations: 0.6317 MB / 0.5014 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.3378, allocations: 55.06 kB / 0.5015 GB, free: 3.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.567e-06/0.3378, allocations: 0 / 0.5015 GB, free: 3.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07528/0.4131, allocations: 21.12 MB / 0.5221 GB, free: 14.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.4132, allocations: 171.2 kB / 0.5223 GB, free: 14.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003819/0.417, allocations: 2.796 MB / 0.525 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002389/0.4173, allocations: 45.7 kB / 0.5251 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.4189, allocations: 2.167 MB / 0.5272 GB, free: 9.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000697/0.4196, allocations: 0.6551 MB / 0.5278 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/0.421, allocations: 1.008 MB / 0.5288 GB, free: 7.816 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4212, allocations: 305.1 kB / 0.5291 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/0.4245, allocations: 2.235 MB / 0.5313 GB, free: 5.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.185/0.6095, allocations: 5.145 MB / 0.5363 GB, free: 97.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008401/0.6179, allocations: 7.968 MB / 0.5441 GB, free: 91.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.613e-05/0.618, allocations: 29.88 kB / 0.5441 GB, free: 91.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02042/0.6384, allocations: 10.27 MB / 0.5541 GB, free: 88.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/0.6385, allocations: 50.81 kB / 0.5542 GB, free: 88.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.085e-05/0.6386, allocations: 105.9 kB / 0.5543 GB, free: 88.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.6493, allocations: 3.434 MB / 0.5576 GB, free: 87.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/0.6523, allocations: 1.086 MB / 0.5587 GB, free: 86.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.6677, allocations: 12.84 MB / 0.5712 GB, free: 73.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/0.6713, allocations: 338.6 kB / 0.5716 GB, free: 73.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.6716, allocations: 308 kB / 0.5719 GB, free: 73.05 MB / 446.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.001656/0.6733, allocations: 1.457 MB / 0.5733 GB, free: 71.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.6737, allocations: 266 kB / 0.5735 GB, free: 71.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.6877, allocations: 5.968 MB / 0.5794 GB, free: 65.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/0.6877, allocations: 11.91 kB / 0.5794 GB, free: 65.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.6877, allocations: 4 kB / 0.5794 GB, free: 65.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005517/0.6883, allocations: 313.1 kB / 0.5797 GB, free: 65.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.6887, allocations: 39.81 kB / 0.5797 GB, free: 65.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.6902, allocations: 143.8 kB / 0.5799 GB, free: 65.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.6905, allocations: 132.7 kB / 0.58 GB, free: 64.95 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009857/0.7004, allocations: 5.792 MB / 0.5856 GB, free: 59.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005644/0.706, allocations: 5.943 MB / 0.5914 GB, free: 53.21 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001488/0.7075, allocations: 1.519 MB / 0.5929 GB, free: 51.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001819/0.7093, allocations: 1.726 MB / 0.5946 GB, free: 49.96 MB / 446.1 MB Notification: Performance of Backend: time 3.1e-07/0.7093, allocations: 7.375 kB / 0.5946 GB, free: 49.95 MB / 446.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.008633/0.718, allocations: 4.802 MB / 0.5993 GB, free: 45.06 MB / 446.1 MB Notification: Performance of SimCode: time 0.007184/0.7251, allocations: 6.935 MB / 0.6061 GB, free: 38.11 MB / 446.1 MB Notification: Performance of Templates: time 0.06289/0.788, allocations: 47.75 MB / 0.6527 GB, free: 6.488 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.043118225876242]