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.001091/0.001091, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001177/0.001177, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.9199/0.9199, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.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.643e-06/1.643e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.938e-05, allocations: 5.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008554/0.008583, allocations: 6.856 MB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.01277, allocations: 3.099 MB / 282.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.01314, allocations: 39.81 kB / 282.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.01431, allocations: 0.9535 MB / 283.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.01598, allocations: 1.427 MB / 285.3 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.01654, allocations: 0.5925 MB / 285.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.01905, allocations: 4.169 MB / 290.1 MB, free: 248 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1101/0.1292, allocations: 1.858 MB / 291.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.1314, allocations: 1.442 MB / 293.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.1338, allocations: 1.676 MB / 295 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004388/0.1343, allocations: 171.9 kB / 295.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.1357, allocations: 0.9012 MB / 296.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009365/0.1367, allocations: 1.18 MB / 297.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009055/0.1376, allocations: 0.7046 MB / 298 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003133/0.1407, allocations: 2.896 MB / 300.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1407, allocations: 0 / 300.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1407, allocations: 2 kB / 300.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.527e-05/0.1408, allocations: 1.844 kB / 300.9 MB, free: 14.83 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.006238/0.1471, allocations: 3.617 MB / 304.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1471, allocations: 14.36 kB / 304.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.1516, allocations: 2.039 MB / 306.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.1532, allocations: 1.347 MB / 307.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.1533, allocations: 126.1 kB / 308 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.1535, allocations: 162.3 kB / 308.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.1579, allocations: 4.123 MB / 312.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.1579, allocations: 35.61 kB / 312.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.1581, allocations: 89.62 kB / 312.4 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001307/0.1594, allocations: 1.327 MB / 313.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.1635, allocations: 2.243 MB / 316 MB, free: 5.254 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.01524/0.1787, allocations: 31.84 MB / 347.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.1818, allocations: 1.43 MB / 349.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.1823, allocations: 443.2 kB / 349.7 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/0.1827, allocations: 189.9 kB / 349.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1827, allocations: 49.45 kB / 349.9 MB, free: 2.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.317e-06/0.1827, allocations: 0 / 349.9 MB, free: 2.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.03479/0.2175, allocations: 14.93 MB / 364.9 MB, free: 3.586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.2176, allocations: 171.2 kB / 365 MB, free: 3.379 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.22, allocations: 2.506 MB / 367.5 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.2201, allocations: 45.7 kB / 367.6 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.2214, allocations: 2.291 MB / 369.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/0.2218, allocations: 0.6801 MB / 370.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009609/0.2228, allocations: 1.063 MB / 371.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2229, allocations: 0.5329 MB / 372.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.2241, allocations: 0.7709 MB / 372.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.2272, allocations: 5.114 MB / 378 MB, free: 4.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004729/0.232, allocations: 6.493 MB / 384.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.683e-05/0.232, allocations: 35.56 kB / 384.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01055/0.2426, allocations: 6.767 MB / 391.3 MB, free: 5.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.2426, allocations: 48.19 kB / 391.4 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-05/0.2427, allocations: 108 kB / 391.5 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.2492, allocations: 2.812 MB / 394.3 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.251, allocations: 1.096 MB / 395.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/0.2581, allocations: 5.29 MB / 400.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.2599, allocations: 375.4 kB / 401 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.2602, allocations: 302.5 kB / 401.3 MB, free: 10.89 MB / 362.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.000797/0.261, allocations: 0.539 MB / 401.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.2613, allocations: 278.4 kB / 402.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006931/0.2682, allocations: 3.699 MB / 405.8 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/0.2683, allocations: 38.5 kB / 405.9 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.2683, allocations: 8 kB / 405.9 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2683, allocations: 7.984 kB / 405.9 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.2817, allocations: 8.959 MB / 414.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.2817, allocations: 4 kB / 414.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.2822, allocations: 235 kB / 415.1 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007562/0.2898, allocations: 3.416 MB / 418.5 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.29, allocations: 47.95 kB / 418.6 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009025/0.299, allocations: 4.856 MB / 423.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.299, allocations: 0 / 423.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1233/0.4223, allocations: 5.801 MB / 429.2 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.4229, allocations: 235.2 kB / 429.4 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.4232, allocations: 36.19 kB / 429.5 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4242, allocations: 214.5 kB / 429.7 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/0.4246, allocations: 121.5 kB / 429.8 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.4247, allocations: 51.95 kB / 429.9 MB, free: 112.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00148/0.4262, allocations: 1.049 MB / 430.9 MB, free: 112.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4262, allocations: 0 / 430.9 MB, free: 112.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003034/0.4292, allocations: 0.9046 MB / 431.8 MB, free: 112.2 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.000438/0.4297, allocations: 175.8 kB / 432 MB, free: 112.1 MB / 378.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.005796/0.4355, allocations: 3.586 MB / 435.6 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4355, allocations: 0.5938 kB / 435.6 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.4379, allocations: 1.534 MB / 437.1 MB, free: 111.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.4392, allocations: 290.1 kB / 437.4 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/0.4462, allocations: 5.426 MB / 442.8 MB, free: 109.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.447, allocations: 0.8143 MB / 443.6 MB, free: 109.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002481/0.4495, allocations: 1.285 MB / 444.9 MB, free: 109.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.45, allocations: 187.9 kB / 445.1 MB, free: 109.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.903e-06/0.45, allocations: 0 / 445.1 MB, free: 109.3 MB / 378.7 MB Notification: Performance of Templates: time 0.03987/0.4899, allocations: 40.9 MB / 486 MB, free: 75.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8292738618329167]