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.001445/0.001445, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.001019/0.001019, allocations: 163.8 kB / 24.99 MB, free: 9.285 MB / 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.9525/0.9525, allocations: 177 MB / 205.2 MB, free: 5.617 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.282e-06/1.282e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.399e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005656/0.00568, allocations: 6.829 MB / 279.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.009676, allocations: 3.088 MB / 282.9 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.01006, allocations: 35.88 kB / 283 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.01116, allocations: 0.9534 MB / 283.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.01283, allocations: 1.424 MB / 285.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.01338, allocations: 0.5924 MB / 285.9 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.01586, allocations: 4.169 MB / 290.1 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1036/0.1195, allocations: 1.856 MB / 292 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.1217, allocations: 1.427 MB / 293.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002274/0.1239, allocations: 1.715 MB / 295.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004448/0.1244, allocations: 184.4 kB / 295.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.1257, allocations: 0.909 MB / 296.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008484/0.1265, allocations: 1.203 MB / 297.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009486/0.1275, allocations: 0.7261 MB / 298.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.1303, allocations: 2.953 MB / 301.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1303, allocations: 4 kB / 301.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1303, allocations: 1.375 kB / 301.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.329e-05/0.1304, allocations: 0.75 kB / 301.1 MB, free: 14.69 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.005304/0.1357, allocations: 3.664 MB / 304.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1358, allocations: 13.55 kB / 304.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/0.1393, allocations: 2.04 MB / 306.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.1407, allocations: 1.328 MB / 308.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.1408, allocations: 130.3 kB / 308.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/0.141, allocations: 172.8 kB / 308.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/0.1443, allocations: 4.113 MB / 312.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/0.1444, allocations: 39.34 kB / 312.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.1446, allocations: 91.72 kB / 312.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/0.1456, allocations: 1.327 MB / 314 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/0.149, allocations: 2.24 MB / 316.2 MB, free: 5.176 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.01681/0.1658, allocations: 31.83 MB / 348 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/0.1689, allocations: 1.44 MB / 349.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.1694, allocations: 451 kB / 349.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.1697, allocations: 180.2 kB / 350.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1697, allocations: 49.89 kB / 350.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.226e-06/0.1697, allocations: 0 / 350.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.03026/0.2, allocations: 14.94 MB / 365.1 MB, free: 3.496 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.2, allocations: 175.2 kB / 365.3 MB, free: 3.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.2025, allocations: 2.498 MB / 367.8 MB, free: 0.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.2026, allocations: 45.7 kB / 367.8 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.2036, allocations: 2.291 MB / 370.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004723/0.2041, allocations: 0.6736 MB / 370.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000997/0.2051, allocations: 1.076 MB / 371.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2052, allocations: 0.5329 MB / 372.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.2064, allocations: 0.7709 MB / 373.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.2094, allocations: 5.106 MB / 378.3 MB, free: 4.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/0.2144, allocations: 6.504 MB / 384.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.649e-05/0.2145, allocations: 32 kB / 384.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01122/0.2257, allocations: 6.763 MB / 391.6 MB, free: 4.957 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.2257, allocations: 48 kB / 391.6 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.571e-05/0.2258, allocations: 104.8 kB / 391.7 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006789/0.2326, allocations: 2.816 MB / 394.5 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.2344, allocations: 1.088 MB / 395.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00785/0.2423, allocations: 5.302 MB / 400.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.2443, allocations: 363.4 kB / 401.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/0.2446, allocations: 310.6 kB / 401.6 MB, free: 10.8 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.0009109/0.2455, allocations: 0.5429 MB / 402.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.2459, allocations: 278.5 kB / 402.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/0.2534, allocations: 3.699 MB / 406.1 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/0.2534, allocations: 30.44 kB / 406.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.2534, allocations: 12 kB / 406.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.2534, allocations: 7.969 kB / 406.1 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.2681, allocations: 8.96 MB / 415.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2681, allocations: 0 / 415.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.2687, allocations: 235.6 kB / 415.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007199/0.2759, allocations: 3.416 MB / 418.7 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.276, allocations: 43.91 kB / 418.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007512/0.2836, allocations: 4.859 MB / 423.6 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2836, allocations: 7.938 kB / 423.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009726/0.2933, allocations: 5.811 MB / 429.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.2936, allocations: 226.2 kB / 429.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.2938, allocations: 39.92 kB / 429.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009022/0.2948, allocations: 215.6 kB / 429.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.295, allocations: 120.7 kB / 430 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.2951, allocations: 54.55 kB / 430.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001274/0.2964, allocations: 1.051 MB / 431.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2964, allocations: 0 / 431.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002658/0.2991, allocations: 0.8984 MB / 432.1 MB, free: 11.98 MB / 394.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.0003603/0.2994, allocations: 184.1 kB / 432.2 MB, free: 11.79 MB / 394.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.005075/0.3045, allocations: 3.584 MB / 435.8 MB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3045, allocations: 0 / 435.8 MB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.3067, allocations: 1.528 MB / 437.3 MB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.3084, allocations: 270.3 kB / 437.6 MB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007108/0.3155, allocations: 5.435 MB / 443 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.3162, allocations: 0.8128 MB / 443.9 MB, free: 24 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.09732/0.4135, allocations: 1.283 MB / 445.1 MB, free: 136.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.4139, allocations: 182.7 kB / 445.3 MB, free: 136.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.084e-06/0.4139, allocations: 1.125 kB / 445.3 MB, free: 136.7 MB / 394.7 MB Notification: Performance of Templates: time 0.03984/0.4538, allocations: 39.88 MB / 485.2 MB, free: 111.2 MB / 394.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.8726921768393368]