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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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=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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.009e-06/5.009e-06, allocations: 3.984 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.601e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009301/0.009337, allocations: 6.264 MB / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006875/0.01621, allocations: 2.967 MB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/0.01712, allocations: 39.81 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.01923, allocations: 0.934 MB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003995/0.02323, allocations: 1.455 MB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.02451, allocations: 0.5886 MB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005783/0.03029, allocations: 4.01 MB / 283.6 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003915/0.0342, allocations: 1.883 MB / 285.5 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.03716, allocations: 1.434 MB / 286.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.03994, allocations: 1.703 MB / 288.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004357/0.04037, allocations: 184 kB / 288.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.04224, allocations: 0.928 MB / 289.7 MB, free: 244 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.134/0.1763, allocations: 1.208 MB / 290.9 MB, free: 20.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.1777, allocations: 0.7361 MB / 291.7 MB, free: 20.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007379/0.1851, allocations: 4.5 MB / 296.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1851, allocations: 0 / 296.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1851, allocations: 1.938 kB / 296.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001604/0.1852, allocations: 0 / 296.2 MB, free: 20.12 MB / 266.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.009766/0.195, allocations: 3.308 MB / 299.5 MB, free: 18.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1951, allocations: 9.703 kB / 299.5 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006818/0.2019, allocations: 2.087 MB / 301.6 MB, free: 18.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/0.2053, allocations: 1.454 MB / 303 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/0.2054, allocations: 126 kB / 303.1 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/0.2059, allocations: 170.7 kB / 303.3 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008582/0.2145, allocations: 6.601 MB / 309.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.956e-05/0.2146, allocations: 31.62 kB / 309.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.2149, allocations: 83.42 kB / 310 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001693/0.2166, allocations: 1.327 MB / 311.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008656/0.2252, allocations: 5.781 MB / 317.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03536/0.2606, allocations: 26.7 MB / 343.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006789/0.2674, allocations: 2.294 MB / 346.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.2694, allocations: 1.232 MB / 347.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.27, allocations: 192.2 kB / 347.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.27, allocations: 58.2 kB / 347.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.497e-06/0.27, allocations: 3.938 kB / 347.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.08371/0.3537, allocations: 21.39 MB / 369 MB, free: 4.215 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.3539, allocations: 179.1 kB / 369.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005115/0.359, allocations: 2.749 MB / 371.9 MB, free: 1.223 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/0.3593, allocations: 49.7 kB / 372 MB, free: 1.168 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.3613, allocations: 2.156 MB / 374.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/0.3623, allocations: 0.6453 MB / 374.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002221/0.3645, allocations: 0.9943 MB / 375.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.3647, allocations: 354 kB / 376.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/0.3687, allocations: 2.227 MB / 378.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007059/0.3757, allocations: 5.154 MB / 383.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.3872, allocations: 7.967 MB / 391.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/0.3873, allocations: 32 kB / 391.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02735/0.4147, allocations: 10.52 MB / 402 MB, free: 216 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.4148, allocations: 48 kB / 402.1 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002029/0.415, allocations: 107.9 kB / 402.2 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01554/0.4306, allocations: 4.16 MB / 406.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/0.4349, allocations: 1.092 MB / 407.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/0.4591, allocations: 12.66 MB / 420.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/0.4635, allocations: 366.9 kB / 420.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/0.4646, allocations: 308 kB / 420.7 MB, free: 13.36 MB / 378.7 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.003735/0.4683, allocations: 1.461 MB / 422.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009715/0.4693, allocations: 282.4 kB / 422.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/0.4879, allocations: 5.949 MB / 428.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.085e-05/0.488, allocations: 33.66 kB / 428.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-05/0.4881, allocations: 8 kB / 428.5 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.068e-05/0.4881, allocations: 11.97 kB / 428.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.158/0.6461, allocations: 12.51 MB / 441 MB, free: 127 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.6461, allocations: 1.031 kB / 441 MB, free: 127 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.6472, allocations: 229.3 kB / 441.2 MB, free: 127 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01388/0.6611, allocations: 4.845 MB / 446.1 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003601/0.6615, allocations: 45.58 kB / 446.1 MB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.6784, allocations: 12.65 MB / 458.8 MB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6784, allocations: 0 / 458.8 MB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01905/0.6975, allocations: 10.08 MB / 468.8 MB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/0.6982, allocations: 242.8 kB / 469.1 MB, free: 108.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006687/0.6988, allocations: 39.95 kB / 469.1 MB, free: 108.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/0.7009, allocations: 213.1 kB / 469.3 MB, free: 108 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004546/0.7014, allocations: 116.8 kB / 469.4 MB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/0.7015, allocations: 53.84 kB / 469.5 MB, free: 107.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002156/0.7037, allocations: 1.578 MB / 471.1 MB, free: 106.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7037, allocations: 0 / 471.1 MB, free: 106.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004176/0.7079, allocations: 0.9258 MB / 472 MB, free: 105.3 MB / 378.7 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.000489/0.7083, allocations: 185.6 kB / 472.2 MB, free: 105.1 MB / 378.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.008713/0.7171, allocations: 5.591 MB / 477.8 MB, free: 99.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.7171, allocations: 0 / 477.8 MB, free: 99.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004237/0.7213, allocations: 2.272 MB / 480 MB, free: 97.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.7234, allocations: 281.7 kB / 480.3 MB, free: 97.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009254/0.7326, allocations: 7.292 MB / 487.6 MB, free: 89.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.7343, allocations: 1.755 MB / 489.4 MB, free: 87.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002645/0.7369, allocations: 1.486 MB / 490.9 MB, free: 86.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.7374, allocations: 192.4 kB / 491 MB, free: 86.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.492e-06/0.7374, allocations: 0 / 491 MB, free: 86.28 MB / 378.7 MB Notification: Performance of Templates: time 0.05096/0.7884, allocations: 39.43 MB / 0.518 GB, free: 47.29 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.397065722965635]