Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008621/0.0008621, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0008808/0.0008808, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8345/0.8345, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 273.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.173e-06/8.175e-06, allocations: 3.344 kB / 273.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00478/0.004788, allocations: 6.666 MB / 280.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.008094, allocations: 3.163 MB / 283.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.008362, allocations: 39.81 kB / 283.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.009377, allocations: 0.9611 MB / 284.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.01083, allocations: 1.424 MB / 285.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.01136, allocations: 0.5963 MB / 286.3 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.01382, allocations: 4.18 MB / 290.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.0151, allocations: 1.905 MB / 292.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.01622, allocations: 1.434 MB / 293.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.01741, allocations: 1.551 MB / 295.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.0176, allocations: 175.9 kB / 295.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000817/0.01842, allocations: 0.8929 MB / 296.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006231/0.01904, allocations: 1.18 MB / 297.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005163/0.01956, allocations: 0.7008 MB / 298.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.02148, allocations: 2.892 MB / 301.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.02148, allocations: 0 / 301.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.02148, allocations: 0 / 301.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.0215, allocations: 0 / 301.2 MB, free: 8.586 MB / 282.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.003548/0.02505, allocations: 3.074 MB / 304.3 MB, free: 5.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.48e-05/0.02507, allocations: 12.03 kB / 304.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.02712, allocations: 0.8435 MB / 305.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.02822, allocations: 1.102 MB / 306.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.02828, allocations: 135.5 kB / 306.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.02849, allocations: 175.8 kB / 306.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.03121, allocations: 3.261 MB / 309.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.03126, allocations: 31.7 kB / 309.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.03141, allocations: 91.89 kB / 309.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009791/0.03239, allocations: 1.175 MB / 311.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.03458, allocations: 1.71 MB / 312.8 MB, free: 12.35 MB / 298.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.01214/0.04673, allocations: 21.97 MB / 334.8 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.0486, allocations: 1.062 MB / 335.9 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.04892, allocations: 305.8 kB / 336.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.04912, allocations: 160.2 kB / 336.3 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.04915, allocations: 51.09 kB / 336.4 MB, free: 3.906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 2.455e-06/0.04915, allocations: 0 / 336.4 MB, free: 3.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.02009/0.06924, allocations: 7.767 MB / 344.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.06929, allocations: 171.2 kB / 344.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.0707, allocations: 2.206 MB / 346.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.0708, allocations: 45.7 kB / 346.5 MB, free: 9.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/0.07155, allocations: 2.082 MB / 348.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.07191, allocations: 0.6433 MB / 349.3 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007953/0.0727, allocations: 0.9336 MB / 350.2 MB, free: 5.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.07279, allocations: 349.8 kB / 350.5 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.07397, allocations: 0.8053 MB / 351.3 MB, free: 4.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0937/0.1677, allocations: 3.6 MB / 354.9 MB, free: 74.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/0.1711, allocations: 4.81 MB / 359.8 MB, free: 71.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.214e-05/0.1712, allocations: 29.97 kB / 359.8 MB, free: 71.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.007447/0.1786, allocations: 4.564 MB / 364.4 MB, free: 70.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.1786, allocations: 50.06 kB / 364.4 MB, free: 70.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.157e-05/0.1787, allocations: 104.2 kB / 364.5 MB, free: 70.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004639/0.1833, allocations: 1.701 MB / 366.2 MB, free: 69.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.1848, allocations: 1.035 MB / 367.2 MB, free: 69.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/0.19, allocations: 3.836 MB / 371.1 MB, free: 68.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.1916, allocations: 215.5 kB / 371.3 MB, free: 68.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/0.1918, allocations: 266.5 kB / 371.5 MB, free: 68.38 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.0006979/0.1925, allocations: 0.5004 MB / 372 MB, free: 68.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.1928, allocations: 165.8 kB / 372.2 MB, free: 68.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004624/0.1974, allocations: 2.188 MB / 374.4 MB, free: 67.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.1975, allocations: 27.88 kB / 374.4 MB, free: 67.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.1975, allocations: 8 kB / 374.4 MB, free: 67.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1975, allocations: 11.22 kB / 374.4 MB, free: 67.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008193/0.2057, allocations: 4.97 MB / 379.4 MB, free: 63.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2057, allocations: 4 kB / 379.4 MB, free: 63.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.2061, allocations: 171.8 kB / 379.6 MB, free: 63.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004573/0.2107, allocations: 1.713 MB / 381.3 MB, free: 61.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.2108, allocations: 39.95 kB / 381.3 MB, free: 61.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.2153, allocations: 3.143 MB / 384.5 MB, free: 58.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2153, allocations: 7.938 kB / 384.5 MB, free: 58.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005248/0.2206, allocations: 3.15 MB / 387.6 MB, free: 54.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.2208, allocations: 224.2 kB / 387.9 MB, free: 54.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.221, allocations: 35.98 kB / 387.9 MB, free: 54.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.2216, allocations: 27.28 kB / 387.9 MB, free: 54.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.2218, allocations: 120.6 kB / 388 MB, free: 54.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.2219, allocations: 43.97 kB / 388.1 MB, free: 54.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004748/0.2224, allocations: 0.7615 MB / 388.8 MB, free: 53.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2224, allocations: 0 / 388.8 MB, free: 53.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002023/0.2244, allocations: 0.9066 MB / 389.7 MB, free: 53.06 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.0002967/0.2247, allocations: 149 kB / 389.9 MB, free: 52.91 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.002815/0.2275, allocations: 2.789 MB / 392.7 MB, free: 50.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.988e-05/0.2276, allocations: 55.94 kB / 392.7 MB, free: 50.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.2289, allocations: 1.049 MB / 393.8 MB, free: 49.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/0.2299, allocations: 384.5 kB / 394.2 MB, free: 48.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.2342, allocations: 5.131 MB / 399.3 MB, free: 43.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.2347, allocations: 0.8125 MB / 400.1 MB, free: 42.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006927/0.2354, allocations: 357.7 kB / 400.5 MB, free: 42.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.2359, allocations: 405.2 kB / 400.8 MB, free: 42.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2359, allocations: 0 / 400.8 MB, free: 42.02 MB / 330.7 MB Notification: Performance of Templates: time 0.03656/0.2724, allocations: 42.24 MB / 443.1 MB, free: 96 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4730519857257605]