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.001357/0.001357, allocations: 85.08 kB / 23 MB, free: 1.504 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.001532/0.001532, allocations: 173.4 kB / 26.39 MB, free: 8.156 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.9063/0.9063, allocations: 158.6 MB / 188.3 MB, free: 2.828 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.573e-06/1.573e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.804e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007966/0.007984, allocations: 6.691 MB / 259 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005888/0.01387, allocations: 3.042 MB / 262 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006985/0.01457, allocations: 39.81 kB / 262 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.01581, allocations: 0.9534 MB / 263 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.01782, allocations: 1.459 MB / 264.4 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.01852, allocations: 0.5886 MB / 265 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002964/0.02149, allocations: 4.036 MB / 269.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.02324, allocations: 1.879 MB / 270.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.02471, allocations: 1.454 MB / 272.4 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.02638, allocations: 1.684 MB / 274.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.02667, allocations: 172 kB / 274.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.02769, allocations: 0.9085 MB / 275.2 MB, free: 260 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007328/0.02843, allocations: 1.196 MB / 276.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005866/0.02901, allocations: 0.7203 MB / 277.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.03131, allocations: 2.938 MB / 280 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.03131, allocations: 0 / 280 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03131, allocations: 0 / 280 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.418e-05/0.03136, allocations: 4 kB / 280 MB, free: 11.38 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.004216/0.03557, allocations: 3.354 MB / 283.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.03561, allocations: 11.98 kB / 283.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.03827, allocations: 1.127 MB / 284.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.03957, allocations: 1.238 MB / 285.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.03964, allocations: 131.5 kB / 285.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.03986, allocations: 171.8 kB / 286 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.04315, allocations: 3.749 MB / 289.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/0.0432, allocations: 31.7 kB / 289.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.04337, allocations: 95.88 kB / 289.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/0.04441, allocations: 1.175 MB / 291.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.04703, allocations: 1.757 MB / 292.9 MB, free: 13.72 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.01714/0.06417, allocations: 30.93 MB / 323.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.06676, allocations: 1.087 MB / 324.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.06712, allocations: 372 kB / 325.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.06735, allocations: 168.1 kB / 325.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.06738, allocations: 53.89 kB / 325.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 2.915e-06/0.06738, allocations: 0 / 325.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.02826/0.09565, allocations: 9.078 MB / 334.5 MB, free: 2.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.09571, allocations: 175.2 kB / 334.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.09781, allocations: 2.52 MB / 337.2 MB, free: 108 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.09792, allocations: 45.7 kB / 337.3 MB, free: 56 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.09894, allocations: 2.314 MB / 339.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/0.0994, allocations: 0.6785 MB / 340.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.1006, allocations: 1.092 MB / 341.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1008, allocations: 0.5276 MB / 341.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009751/0.1017, allocations: 0.6888 MB / 342.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003114/0.1049, allocations: 5.059 MB / 347.6 MB, free: 3.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1301/0.235, allocations: 6.232 MB / 353.9 MB, free: 87.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.748e-05/0.235, allocations: 31.06 kB / 353.9 MB, free: 87.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01101/0.2461, allocations: 5.277 MB / 359.2 MB, free: 86.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.2461, allocations: 48.03 kB / 359.2 MB, free: 86.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.728e-05/0.2462, allocations: 101.8 kB / 359.3 MB, free: 86.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006343/0.2525, allocations: 1.707 MB / 361 MB, free: 86.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.2546, allocations: 1.042 MB / 362.1 MB, free: 86.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/0.2618, allocations: 4.495 MB / 366.6 MB, free: 83.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.2642, allocations: 211.1 kB / 366.8 MB, free: 83.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003286/0.2645, allocations: 269.8 kB / 367 MB, free: 83.59 MB / 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.0009227/0.2654, allocations: 0.5444 MB / 367.6 MB, free: 83.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/0.2659, allocations: 283.8 kB / 367.8 MB, free: 83.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/0.2716, allocations: 2.415 MB / 370.3 MB, free: 81.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.2716, allocations: 34.62 kB / 370.3 MB, free: 81.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.2717, allocations: 8 kB / 370.3 MB, free: 81.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2717, allocations: 10.19 kB / 370.3 MB, free: 81.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00929/0.281, allocations: 5.777 MB / 376.1 MB, free: 76.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.281, allocations: 0 / 376.1 MB, free: 76.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.2814, allocations: 175.8 kB / 376.3 MB, free: 76.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004748/0.2861, allocations: 1.608 MB / 377.9 MB, free: 74.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.2863, allocations: 45.92 kB / 377.9 MB, free: 74.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005073/0.2913, allocations: 3.781 MB / 381.7 MB, free: 70.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2913, allocations: 3.984 kB / 381.7 MB, free: 70.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006056/0.2974, allocations: 3.538 MB / 385.2 MB, free: 67.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.2977, allocations: 233.1 kB / 385.5 MB, free: 66.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.2979, allocations: 31.98 kB / 385.5 MB, free: 66.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/0.2986, allocations: 31.94 kB / 385.5 MB, free: 66.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.2988, allocations: 114.9 kB / 385.6 MB, free: 66.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/0.2989, allocations: 43.97 kB / 385.7 MB, free: 66.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006932/0.2996, allocations: 0.9944 MB / 386.7 MB, free: 65.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2996, allocations: 0 / 386.7 MB, free: 65.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002426/0.302, allocations: 0.9256 MB / 387.6 MB, free: 64.79 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.0003064/0.3023, allocations: 191.9 kB / 387.8 MB, free: 64.6 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.003283/0.3056, allocations: 3.132 MB / 390.9 MB, free: 61.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3056, allocations: 7.938 kB / 390.9 MB, free: 61.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.3071, allocations: 1.223 MB / 392.2 MB, free: 60.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.308, allocations: 281.2 kB / 392.4 MB, free: 59.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.3127, allocations: 5.371 MB / 397.8 MB, free: 54.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.3132, allocations: 0.8169 MB / 398.6 MB, free: 53.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000666/0.3139, allocations: 363.5 kB / 399 MB, free: 53.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.3143, allocations: 434.1 kB / 399.4 MB, free: 52.99 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3143, allocations: 0 / 399.4 MB, free: 52.99 MB / 330.7 MB Notification: Performance of Templates: time 0.04016/0.3545, allocations: 43.66 MB / 443.1 MB, free: 9.328 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: 4.0467572822235525]