Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009737/0.0009737, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.000933/0.000933, allocations: 162.7 kB / 25.7 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9116/0.9116, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.254e-05, allocations: 6.25 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005449/0.005462, allocations: 6.687 MB / 258.2 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.00912, allocations: 3.154 MB / 261.4 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.009468, allocations: 31.88 kB / 261.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.01058, allocations: 0.9612 MB / 262.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.01225, allocations: 1.462 MB / 263.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.01308, allocations: 0.5925 MB / 264.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.01557, allocations: 4.041 MB / 268.5 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.01685, allocations: 1.928 MB / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.01825, allocations: 1.446 MB / 271.8 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.01947, allocations: 1.555 MB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.01965, allocations: 176 kB / 273.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008642/0.02051, allocations: 0.9046 MB / 274.5 MB, free: 244 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000635/0.02115, allocations: 1.192 MB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.02166, allocations: 0.7242 MB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.02387, allocations: 2.934 MB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.02387, allocations: 0 / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.02387, allocations: 0 / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.961e-05/0.0239, allocations: 0 / 279.3 MB, free: 11.37 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.003114/0.02702, allocations: 2.937 MB / 282.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.02705, allocations: 11.98 kB / 282.3 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.02909, allocations: 0.8435 MB / 283.1 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.03027, allocations: 1.129 MB / 284.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.03033, allocations: 123.5 kB / 284.4 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.03054, allocations: 179.8 kB / 284.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.0335, allocations: 3.268 MB / 287.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.03355, allocations: 31.7 kB / 287.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.0337, allocations: 87.89 kB / 287.9 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009835/0.03469, allocations: 1.175 MB / 289.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.03687, allocations: 1.718 MB / 290.8 MB, free: 15.24 MB / 282.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.01322/0.05009, allocations: 21.98 MB / 312.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.05198, allocations: 1.055 MB / 313.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.0523, allocations: 301.7 kB / 314.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.05252, allocations: 160.2 kB / 314.3 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.05278, allocations: 50.98 kB / 314.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.236e-06/0.05278, allocations: 0 / 314.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.01946/0.07224, allocations: 7.768 MB / 322.1 MB, free: 15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.07229, allocations: 171.2 kB / 322.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.07381, allocations: 2.226 MB / 324.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.07392, allocations: 49.69 kB / 324.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007578/0.07467, allocations: 2.074 MB / 326.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.07505, allocations: 0.6511 MB / 327.3 MB, free: 9.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007869/0.07583, allocations: 0.9219 MB / 328.2 MB, free: 8.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.07592, allocations: 353.8 kB / 328.5 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.07723, allocations: 0.8053 MB / 329.4 MB, free: 7.633 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.07946, allocations: 3.604 MB / 333 MB, free: 2.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.08279, allocations: 4.819 MB / 337.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/0.08282, allocations: 28 kB / 337.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.007339/0.09016, allocations: 4.575 MB / 342.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.0902, allocations: 50.5 kB / 342.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.257e-05/0.09027, allocations: 104 kB / 342.5 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004738/0.095, allocations: 1.695 MB / 344.2 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.09662, allocations: 1.037 MB / 345.3 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005677/0.1023, allocations: 3.821 MB / 349.1 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.1038, allocations: 211.7 kB / 349.3 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/0.104, allocations: 275.9 kB / 349.6 MB, free: 344 kB / 330.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.09862/0.2027, allocations: 0.4952 MB / 350.1 MB, free: 91.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/0.2032, allocations: 160 kB / 350.2 MB, free: 91.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005197/0.2084, allocations: 2.185 MB / 352.4 MB, free: 91.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/0.2085, allocations: 34.03 kB / 352.4 MB, free: 91.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.2085, allocations: 11.91 kB / 352.4 MB, free: 91.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2085, allocations: 7.984 kB / 352.4 MB, free: 91.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00891/0.2174, allocations: 4.99 MB / 357.4 MB, free: 90.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2174, allocations: 0 / 357.4 MB, free: 90.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.2179, allocations: 175.3 kB / 357.6 MB, free: 90.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004613/0.2225, allocations: 1.711 MB / 359.3 MB, free: 90.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.2226, allocations: 40.55 kB / 359.4 MB, free: 90.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/0.2274, allocations: 3.133 MB / 362.5 MB, free: 89.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2274, allocations: 2 kB / 362.5 MB, free: 89.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005419/0.2328, allocations: 3.158 MB / 365.7 MB, free: 88.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.233, allocations: 229.9 kB / 365.9 MB, free: 88.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.2332, allocations: 42.48 kB / 365.9 MB, free: 88.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.2339, allocations: 21.38 kB / 365.9 MB, free: 88.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.2341, allocations: 117.9 kB / 366.1 MB, free: 88.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/0.2342, allocations: 45.45 kB / 366.1 MB, free: 88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005284/0.2347, allocations: 0.7735 MB / 366.9 MB, free: 87.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2347, allocations: 4 kB / 366.9 MB, free: 87.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002152/0.2368, allocations: 0.9232 MB / 367.8 MB, free: 86.52 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.0003149/0.2372, allocations: 166.5 kB / 368 MB, free: 86.39 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.002936/0.2401, allocations: 2.781 MB / 370.7 MB, free: 83.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.848e-05/0.2402, allocations: 59.94 kB / 370.8 MB, free: 83.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.2416, allocations: 1.046 MB / 371.8 MB, free: 82.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2426, allocations: 385 kB / 372.2 MB, free: 82.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.2471, allocations: 5.163 MB / 377.4 MB, free: 77.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.2476, allocations: 0.8144 MB / 378.2 MB, free: 76.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007031/0.2483, allocations: 364.7 kB / 378.6 MB, free: 76.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.2488, allocations: 401.2 kB / 378.9 MB, free: 75.79 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2488, allocations: 0 / 378.9 MB, free: 75.79 MB / 330.7 MB Notification: Performance of Templates: time 0.03777/0.2865, allocations: 42.61 MB / 421.6 MB, free: 33.26 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.675372382160276]