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.001352/0.001352, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001455/0.001455, allocations: 141.5 kB / 24.54 MB, free: 36 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 0.9965/0.9965, allocations: 173.4 MB / 201.1 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.565e-05, allocations: 2.312 kB / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.006065/0.00609, allocations: 6.88 MB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.01024, allocations: 3.076 MB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.01058, allocations: 39.81 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.01186, allocations: 0.9612 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.01366, allocations: 1.451 MB / 280.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.01454, allocations: 0.5925 MB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.01716, allocations: 4.028 MB / 285 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.01856, allocations: 1.875 MB / 286.9 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.02001, allocations: 1.438 MB / 288.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.02147, allocations: 1.711 MB / 290 MB, free: 268 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.02169, allocations: 184 kB / 290.2 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1137/0.1354, allocations: 0.9186 MB / 291.1 MB, free: 19.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.1366, allocations: 1.212 MB / 292.4 MB, free: 19.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.1387, allocations: 0.7391 MB / 293.1 MB, free: 19.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.1435, allocations: 3.001 MB / 296.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1435, allocations: 0.9375 kB / 296.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1435, allocations: 0 / 296.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001276/0.1436, allocations: 0.5625 kB / 296.1 MB, free: 19.41 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.006987/0.1506, allocations: 3.588 MB / 299.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1507, allocations: 10.33 kB / 299.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/0.1546, allocations: 2.03 MB / 301.7 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.1566, allocations: 1.336 MB / 303.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.1566, allocations: 125.7 kB / 303.2 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.1569, allocations: 170.5 kB / 303.4 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/0.161, allocations: 4.12 MB / 307.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/0.161, allocations: 28.7 kB / 307.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.1612, allocations: 89.38 kB / 307.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001016/0.1622, allocations: 1.329 MB / 308.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.1657, allocations: 2.237 MB / 311.2 MB, free: 14.2 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.1826, allocations: 31.85 MB / 343 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.1855, allocations: 1.433 MB / 344.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.186, allocations: 439.7 kB / 344.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.1863, allocations: 187.8 kB / 345.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1864, allocations: 52.98 kB / 345.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 4.909e-06/0.1864, allocations: 0 / 345.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.02957/0.2159, allocations: 14.94 MB / 360 MB, free: 12.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.216, allocations: 171.2 kB / 360.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.2185, allocations: 2.51 MB / 362.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.2186, allocations: 49.7 kB / 362.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.2197, allocations: 2.29 MB / 365.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005604/0.2203, allocations: 0.6811 MB / 365.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.2214, allocations: 1.067 MB / 366.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2215, allocations: 0.5316 MB / 367.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.2227, allocations: 0.7779 MB / 368.1 MB, free: 4.715 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.2257, allocations: 5.11 MB / 373.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005149/0.2308, allocations: 6.493 MB / 379.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-05/0.2309, allocations: 28 kB / 379.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0116/0.2425, allocations: 6.769 MB / 386.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.2425, allocations: 52 kB / 386.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.763e-05/0.2426, allocations: 100 kB / 386.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/0.2492, allocations: 2.82 MB / 389.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.2513, allocations: 1.092 MB / 390.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007802/0.2591, allocations: 5.294 MB / 395.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.2617, allocations: 367.4 kB / 396.2 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.262, allocations: 304 kB / 396.5 MB, free: 4.172 MB / 346.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.001156/0.2632, allocations: 0.5454 MB / 397.1 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/0.2636, allocations: 282.4 kB / 397.3 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007302/0.2709, allocations: 3.7 MB / 401 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-05/0.2709, allocations: 31.92 kB / 401.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.2709, allocations: 8 kB / 401.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.271, allocations: 7.984 kB / 401.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.2857, allocations: 8.966 MB / 410.1 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.2857, allocations: 0 / 410.1 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.2864, allocations: 227.7 kB / 410.3 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007153/0.2935, allocations: 3.422 MB / 413.7 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/0.2937, allocations: 50.61 kB / 413.8 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007257/0.301, allocations: 4.862 MB / 418.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.301, allocations: 0 / 418.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009725/0.3107, allocations: 5.807 MB / 424.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.3112, allocations: 234.2 kB / 424.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.3114, allocations: 35.98 kB / 424.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009122/0.3123, allocations: 211.6 kB / 424.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.3126, allocations: 123.3 kB / 425 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.3127, allocations: 51.97 kB / 425.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001405/0.3141, allocations: 1.055 MB / 426.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3141, allocations: 0 / 426.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002872/0.317, allocations: 0.9178 MB / 427 MB, free: 5.328 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.0004432/0.3174, allocations: 198.3 kB / 427.2 MB, free: 5.133 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.005301/0.3227, allocations: 3.581 MB / 430.8 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3227, allocations: 0 / 430.8 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1087/0.4314, allocations: 1.53 MB / 432.3 MB, free: 122.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.4332, allocations: 264.4 kB / 432.6 MB, free: 122.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/0.4407, allocations: 5.432 MB / 438 MB, free: 121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.4415, allocations: 0.8178 MB / 438.8 MB, free: 120.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001951/0.4435, allocations: 1.291 MB / 440.1 MB, free: 120.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.4438, allocations: 189.4 kB / 440.3 MB, free: 120.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.405e-06/0.4438, allocations: 1.375 kB / 440.3 MB, free: 120.7 MB / 378.7 MB Notification: Performance of Templates: time 0.03776/0.4816, allocations: 40.03 MB / 480.4 MB, free: 91.43 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2141187293455005]