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.001011/0.001011, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001511/0.001511, allocations: 148.6 kB / 24.89 MB, free: 8.742 MB / 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.9372/0.9372, allocations: 173.4 MB / 201.5 MB, free: 8.734 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.352e-06/1.352e-06, allocations: 0 / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.466e-05, allocations: 10.05 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007205/0.007229, allocations: 6.728 MB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004865/0.01209, allocations: 3.153 MB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005695/0.01266, allocations: 35.88 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.01396, allocations: 0.9416 MB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.01654, allocations: 1.435 MB / 280.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.01738, allocations: 0.5847 MB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003173/0.02055, allocations: 4.025 MB / 285.4 MB, free: 5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.02222, allocations: 1.659 MB / 287.1 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.02372, allocations: 1.391 MB / 288.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.02576, allocations: 1.563 MB / 290 MB, free: 368 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.02613, allocations: 172 kB / 290.2 MB, free: 196 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1499/0.176, allocations: 0.9242 MB / 291.1 MB, free: 20.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008322/0.1769, allocations: 1.195 MB / 292.3 MB, free: 20.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007912/0.1777, allocations: 0.7206 MB / 293 MB, free: 20.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.1804, allocations: 2.942 MB / 296 MB, free: 19.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1804, allocations: 3.141 kB / 296 MB, free: 19.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1804, allocations: 1.062 kB / 296 MB, free: 19.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.1805, allocations: 0 / 296 MB, free: 19.84 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.003738/0.1842, allocations: 2.929 MB / 298.9 MB, free: 18.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1842, allocations: 9.953 kB / 298.9 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.1866, allocations: 0.8379 MB / 299.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.1878, allocations: 1.114 MB / 300.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.1878, allocations: 124.7 kB / 301 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.1881, allocations: 170.2 kB / 301.2 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.1908, allocations: 3.267 MB / 304.4 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.1908, allocations: 38.22 kB / 304.5 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.191, allocations: 84.86 kB / 304.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008481/0.1919, allocations: 1.179 MB / 305.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.1938, allocations: 1.717 MB / 307.5 MB, free: 16.44 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.0103/0.2041, allocations: 21.97 MB / 329.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.206, allocations: 1.06 MB / 330.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.2063, allocations: 304.2 kB / 330.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.2066, allocations: 164.5 kB / 330.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.2066, allocations: 46.16 kB / 331 MB, free: 11.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 2.525e-06/0.2066, allocations: 0 / 331 MB, free: 11.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=163): time 0.01969/0.2263, allocations: 7.816 MB / 338.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.2263, allocations: 171.2 kB / 339 MB, free: 3.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.2278, allocations: 2.221 MB / 341.2 MB, free: 1.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.2279, allocations: 45.7 kB / 341.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007405/0.2287, allocations: 2.079 MB / 343.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.229, allocations: 0.651 MB / 344 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008415/0.2299, allocations: 0.9222 MB / 344.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.2299, allocations: 350 kB / 345.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.2311, allocations: 0.8131 MB / 346 MB, free: 12.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.2337, allocations: 3.599 MB / 349.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.2369, allocations: 4.819 MB / 354.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-05/0.2369, allocations: 28 kB / 354.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.007316/0.2442, allocations: 4.568 MB / 359.1 MB, free: 12.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.2442, allocations: 48.94 kB / 359.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-05/0.2443, allocations: 104 kB / 359.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/0.249, allocations: 1.71 MB / 360.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.2507, allocations: 1.088 MB / 362 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/0.2566, allocations: 3.855 MB / 365.9 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.2582, allocations: 219.7 kB / 366.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.2585, allocations: 260 kB / 366.3 MB, free: 5.621 MB / 314.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 (wheel1.body.sphereColor[1],wheel1.body.sphereColor[2],wheel1.body.sphereColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * 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.0008805/0.2594, allocations: 0.5033 MB / 366.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.2597, allocations: 167.8 kB / 367 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004894/0.2646, allocations: 2.177 MB / 369.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.2646, allocations: 31.98 kB / 369.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2646, allocations: 8 kB / 369.2 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2646, allocations: 11.97 kB / 369.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009145/0.2738, allocations: 4.979 MB / 374.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2738, allocations: 4 kB / 374.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.2743, allocations: 187.8 kB / 374.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004859/0.2791, allocations: 1.714 MB / 376.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.2792, allocations: 43.95 kB / 376.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005312/0.2846, allocations: 3.167 MB / 379.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2846, allocations: 3.938 kB / 379.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005792/0.2903, allocations: 3.156 MB / 382.5 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.2905, allocations: 226.2 kB / 382.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.2907, allocations: 39.92 kB / 382.7 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/0.2914, allocations: 24 kB / 382.8 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.2916, allocations: 112.8 kB / 382.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/0.2917, allocations: 39.97 kB / 382.9 MB, free: 4.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000639/0.2924, allocations: 0.7703 MB / 383.7 MB, free: 4.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2924, allocations: 0 / 383.7 MB, free: 4.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002571/0.2949, allocations: 0.9178 MB / 384.6 MB, free: 3.207 MB / 330.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.0003265/0.2953, allocations: 176 kB / 384.8 MB, free: 3.023 MB / 330.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.003255/0.2985, allocations: 2.778 MB / 387.5 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001005/0.2986, allocations: 60.19 kB / 387.6 MB, free: 164 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.3002, allocations: 1.039 MB / 388.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3013, allocations: 390.9 kB / 389 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.3066, allocations: 5.151 MB / 394.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.3073, allocations: 0.8089 MB / 395 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007593/0.308, allocations: 359.5 kB / 395.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.3086, allocations: 409.2 kB / 395.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3086, allocations: 0 / 395.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of Templates: time 0.1589/0.4675, allocations: 42.38 MB / 438.1 MB, free: 121.4 MB / 378.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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: 3.6993418750353158]