Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009724/0.0009724, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002553, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009503/0.0009503, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002292, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9836/0.9836, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09213/1.076, allocations: 53.86 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.332e-05, allocations: 5.406 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007355/0.007379, allocations: 6.766 MB / 252 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005088/0.01247, allocations: 3.192 MB / 255.2 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006493/0.01312, allocations: 43.81 kB / 255.2 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.01432, allocations: 0.93 MB / 256.1 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.01656, allocations: 1.4 MB / 257.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008041/0.01737, allocations: 0.5302 MB / 258.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00352/0.02089, allocations: 3.901 MB / 262 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.02274, allocations: 1.425 MB / 263.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.02444, allocations: 1.472 MB / 264.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.02607, allocations: 1.532 MB / 266.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003762/0.02645, allocations: 172 kB / 266.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.0277, allocations: 0.9202 MB / 267.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009229/0.02862, allocations: 1.064 MB / 268.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005899/0.02921, allocations: 0.5801 MB / 269.1 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.03152, allocations: 2.67 MB / 271.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.03153, allocations: 4 kB / 271.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.03153, allocations: 0 / 271.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.689e-05/0.03157, allocations: 0 / 271.8 MB, free: 2.859 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.1128/0.1443, allocations: 3.641 MB / 275.4 MB, free: 19.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1444, allocations: 10.59 kB / 275.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.1476, allocations: 0.8396 MB / 276.3 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.1492, allocations: 1.104 MB / 277.4 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/0.1493, allocations: 126.8 kB / 277.5 MB, free: 18.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.1496, allocations: 171.5 kB / 277.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.1537, allocations: 3.272 MB / 281 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.997e-05/0.1538, allocations: 35.17 kB / 281 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.154, allocations: 87.2 kB / 281.1 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003906/0.1579, allocations: 1.095 MB / 282.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/0.1615, allocations: 1.726 MB / 283.9 MB, free: 17.43 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.01192/0.1735, allocations: 21.95 MB / 305.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.1756, allocations: 1.058 MB / 306.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.1759, allocations: 299 kB / 307.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.1761, allocations: 164.3 kB / 307.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1762, allocations: 56.3 kB / 307.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 2.916e-06/0.1762, allocations: 0 / 307.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=163): time 0.02047/0.1966, allocations: 7.766 MB / 315.2 MB, free: 6.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.1967, allocations: 171.2 kB / 315.4 MB, free: 6.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.1985, allocations: 2.213 MB / 317.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.1986, allocations: 49.69 kB / 317.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008677/0.1995, allocations: 2.075 MB / 319.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.1999, allocations: 0.6511 MB / 320.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008322/0.2007, allocations: 0.925 MB / 321.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2008, allocations: 349.9 kB / 321.6 MB, free: 492 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.2023, allocations: 0.8132 MB / 322.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.2046, allocations: 3.601 MB / 326 MB, free: 10.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003969/0.2085, allocations: 5.147 MB / 331.2 MB, free: 4.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.849e-05/0.2086, allocations: 32 kB / 331.2 MB, free: 3.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.00787/0.2164, allocations: 4.567 MB / 335.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.2165, allocations: 56.06 kB / 335.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.915e-05/0.2166, allocations: 112 kB / 335.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004988/0.2216, allocations: 1.699 MB / 337.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.2241, allocations: 1.162 MB / 338.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006327/0.2304, allocations: 3.807 MB / 342.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.2326, allocations: 211.7 kB / 342.8 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004065/0.233, allocations: 272 kB / 343.1 MB, free: 7.934 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.0009277/0.234, allocations: 0.4884 MB / 343.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.2343, allocations: 167.8 kB / 343.7 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/0.2392, allocations: 2.192 MB / 345.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.196e-05/0.2392, allocations: 27.98 kB / 345.9 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.2392, allocations: 8 kB / 345.9 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.2392, allocations: 7.984 kB / 346 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009567/0.2488, allocations: 4.965 MB / 350.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/0.2488, allocations: 19.59 kB / 350.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.2494, allocations: 207.7 kB / 351.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.2498, allocations: 230.2 kB / 351.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004803/0.2546, allocations: 1.713 MB / 353.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.2548, allocations: 43.95 kB / 353.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005442/0.2602, allocations: 3.089 MB / 356.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2602, allocations: 7.828 kB / 356.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/0.2662, allocations: 3.174 MB / 359.4 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/0.2667, allocations: 35.92 kB / 359.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.2674, allocations: 28 kB / 359.5 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.2677, allocations: 120.7 kB / 359.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/0.2678, allocations: 47.97 kB / 359.6 MB, free: 7.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009145/0.2687, allocations: 0.7545 MB / 360.4 MB, free: 6.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2687, allocations: 0 / 360.4 MB, free: 6.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00289/0.2716, allocations: 0.9062 MB / 361.3 MB, free: 5.402 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.0004334/0.272, allocations: 160.9 kB / 361.4 MB, free: 5.238 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.005348/0.2774, allocations: 2.873 MB / 364.3 MB, free: 2.414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001573/0.2775, allocations: 66.56 kB / 364.4 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.2801, allocations: 1.262 MB / 365.6 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.2827, allocations: 1.793 MB / 367.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.2933, allocations: 5.192 MB / 372.6 MB, free: 9.797 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.2944, allocations: 0.8131 MB / 373.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001218/0.2956, allocations: 351.6 kB / 373.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/0.2963, allocations: 397.2 kB / 374.2 MB, free: 8.223 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2963, allocations: 0 / 374.2 MB, free: 8.223 MB / 346.7 MB Notification: Performance of Templates: time 0.1584/0.4547, allocations: 41.4 MB / 415.6 MB, free: 115.4 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4127766843885183]