Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 258.2 MB, free: 7.812 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3174, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009155/0.3266, allocations: 6.239 MB / 438.6 MB, free: 480 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007415/0.334, allocations: 2.979 MB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.3355, allocations: 35.88 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.3376, allocations: 0.8912 MB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.3414, allocations: 1.389 MB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3425, allocations: 0.5147 MB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004075/0.3466, allocations: 2.751 MB / 447.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.3485, allocations: 1.239 MB / 448.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.35, allocations: 0.872 MB / 449.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.3531, allocations: 2.256 MB / 451.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006397/0.3538, allocations: 183.9 kB / 451.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.3559, allocations: 0.8736 MB / 452.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.3571, allocations: 1.137 MB / 453.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.3583, allocations: 0.9394 MB / 454.6 MB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005611/0.3639, allocations: 4.411 MB / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3639, allocations: 0 / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3639, allocations: 4 kB / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.511e-05/0.364, allocations: 3.938 kB / 459 MB, free: 11.93 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.009238/0.3732, allocations: 3.337 MB / 462.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3733, allocations: 8.031 kB / 462.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/0.3795, allocations: 1.668 MB / 464.1 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.384, allocations: 1.453 MB / 465.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.3842, allocations: 123.2 kB / 465.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004583/0.3846, allocations: 171.8 kB / 465.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.397, allocations: 6.625 MB / 472.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.23e-05/0.3971, allocations: 39.7 kB / 472.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.3974, allocations: 79.91 kB / 472.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/0.3997, allocations: 1.331 MB / 473.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.4111, allocations: 5.835 MB / 479.7 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04232/0.4534, allocations: 26.55 MB / 0.4944 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006773/0.4602, allocations: 2.244 MB / 0.4966 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.4621, allocations: 1.224 MB / 0.4978 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006425/0.4627, allocations: 176.2 kB / 0.4979 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.799e-05/0.4628, allocations: 54.98 kB / 0.498 GB, free: 7.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 5.46e-06/0.4628, allocations: 0 / 0.498 GB, free: 7.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07888/0.5417, allocations: 20.93 MB / 0.5184 GB, free: 2.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.5418, allocations: 175.2 kB / 0.5186 GB, free: 2.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/0.5465, allocations: 2.655 MB / 0.5212 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004374/0.5469, allocations: 53.61 kB / 0.5212 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.5491, allocations: 2.175 MB / 0.5234 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.5501, allocations: 0.6589 MB / 0.524 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/0.5519, allocations: 1.012 MB / 0.525 GB, free: 11.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.5521, allocations: 353.9 kB / 0.5253 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/0.5557, allocations: 2.227 MB / 0.5275 GB, free: 9.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006966/0.5627, allocations: 5.158 MB / 0.5326 GB, free: 2.453 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3371/0.8998, allocations: 7.966 MB / 0.5403 GB, free: 92.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/0.8999, allocations: 30.12 kB / 0.5404 GB, free: 92.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02521/0.9251, allocations: 10.26 MB / 0.5504 GB, free: 89.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/0.9252, allocations: 48 kB / 0.5504 GB, free: 89.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/0.9254, allocations: 103.7 kB / 0.5505 GB, free: 89.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/0.937, allocations: 3.431 MB / 0.5539 GB, free: 88.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/0.9407, allocations: 1.094 MB / 0.5549 GB, free: 88.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.9567, allocations: 12.57 MB / 0.5672 GB, free: 75.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/0.9611, allocations: 331.4 kB / 0.5675 GB, free: 75.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008514/0.9619, allocations: 315.5 kB / 0.5678 GB, free: 75.07 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.002727/0.9646, allocations: 1.459 MB / 0.5693 GB, free: 73.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/0.9653, allocations: 233.4 kB / 0.5695 GB, free: 73.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.9799, allocations: 5.952 MB / 0.5753 GB, free: 67.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-05/0.9799, allocations: 31.98 kB / 0.5753 GB, free: 67.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/0.98, allocations: 12 kB / 0.5753 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/0.98, allocations: 3.984 kB / 0.5753 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/1.006, allocations: 12.43 MB / 0.5875 GB, free: 55.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/1.006, allocations: 4 kB / 0.5875 GB, free: 55.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.007, allocations: 227.6 kB / 0.5877 GB, free: 54.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01153/1.019, allocations: 4.011 MB / 0.5916 GB, free: 50.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003621/1.019, allocations: 43.95 kB / 0.5917 GB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/1.034, allocations: 12.57 MB / 0.6039 GB, free: 38.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.034, allocations: 12.23 kB / 0.604 GB, free: 38.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.053, allocations: 10.04 MB / 0.6138 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008687/1.054, allocations: 207 kB / 0.614 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000432/1.054, allocations: 43.92 kB / 0.614 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.056, allocations: 188.5 kB / 0.6142 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000423/1.056, allocations: 122.4 kB / 0.6143 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.057, allocations: 51.97 kB / 0.6143 GB, free: 27.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001822/1.058, allocations: 1.508 MB / 0.6158 GB, free: 26.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/1.058, allocations: 4 kB / 0.6158 GB, free: 26.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004406/1.063, allocations: 0.8042 MB / 0.6166 GB, free: 25.3 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.0005675/1.063, allocations: 163.5 kB / 0.6168 GB, free: 25.14 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.01015/1.073, allocations: 5.58 MB / 0.6222 GB, free: 19.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.073, allocations: 2.078 kB / 0.6222 GB, free: 19.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005436/1.079, allocations: 2.272 MB / 0.6244 GB, free: 17.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.081, allocations: 262.4 kB / 0.6247 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.094, allocations: 7.383 MB / 0.6319 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002055/1.096, allocations: 1.752 MB / 0.6336 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003004/1.099, allocations: 1.478 MB / 0.635 GB, free: 6.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.1, allocations: 183.4 kB / 0.6352 GB, free: 6.156 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/1.1, allocations: 0 / 0.6352 GB, free: 6.156 MB / 446.1 MB Notification: Performance of Templates: time 0.07975/1.18, allocations: 42.77 MB / 0.677 GB, free: 11.79 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.452207748996443]