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.001585/0.001585, 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.00172/0.00172, 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.9825/0.9825, allocations: 177 MB / 204.8 MB, free: 5.562 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.413e-06/1.413e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.497e-05, allocations: 5.266 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.006302/0.006327, allocations: 6.852 MB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.01119, allocations: 3.096 MB / 282.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006683/0.01186, allocations: 39.81 kB / 282.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.01328, allocations: 0.9496 MB / 283.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.01612, allocations: 1.427 MB / 285.3 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.01698, allocations: 0.5886 MB / 285.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003385/0.02037, allocations: 4.176 MB / 290.1 MB, free: 240 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1313/0.1516, allocations: 1.856 MB / 291.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.1542, allocations: 1.433 MB / 293.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.1571, allocations: 1.714 MB / 295.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006864/0.1577, allocations: 183.1 kB / 295.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.1596, allocations: 0.9125 MB / 296.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.1608, allocations: 1.198 MB / 297.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.1622, allocations: 0.7277 MB / 298.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.1663, allocations: 2.953 MB / 301 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1663, allocations: 0 / 301 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1663, allocations: 0 / 301 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001183/0.1664, allocations: 5.812 kB / 301 MB, free: 14.74 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.007022/0.1734, allocations: 3.666 MB / 304.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1735, allocations: 14.45 kB / 304.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/0.1772, allocations: 2.034 MB / 306.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.179, allocations: 1.325 MB / 308.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.1791, allocations: 131.5 kB / 308.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.1793, allocations: 172.5 kB / 308.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.1832, allocations: 4.121 MB / 312.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.1833, allocations: 35.05 kB / 312.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.1834, allocations: 83.55 kB / 312.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001056/0.1845, allocations: 1.33 MB / 313.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003701/0.1882, allocations: 2.243 MB / 316.2 MB, free: 5.027 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.02035/0.2085, allocations: 31.83 MB / 348 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.2114, allocations: 1.434 MB / 349.4 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.212, allocations: 448 kB / 349.9 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.2123, allocations: 185.4 kB / 350.1 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.2123, allocations: 54.11 kB / 350.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 4.659e-06/0.2123, allocations: 0 / 350.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.03102/0.2433, allocations: 14.94 MB / 365.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.2434, allocations: 171.2 kB / 365.2 MB, free: 3.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.2462, allocations: 2.502 MB / 367.7 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.2463, allocations: 45.7 kB / 367.8 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.2474, allocations: 2.297 MB / 370.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.2479, allocations: 0.6749 MB / 370.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.249, allocations: 1.067 MB / 371.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2491, allocations: 0.5291 MB / 372.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.2503, allocations: 0.7709 MB / 373.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/0.2535, allocations: 5.106 MB / 378.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005089/0.2586, allocations: 6.503 MB / 384.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-05/0.2587, allocations: 28 kB / 384.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01166/0.2703, allocations: 6.767 MB / 391.5 MB, free: 4.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.2704, allocations: 52 kB / 391.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.243e-05/0.2705, allocations: 104.2 kB / 391.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006694/0.2772, allocations: 2.816 MB / 394.5 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.2792, allocations: 1.088 MB / 395.6 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/0.2873, allocations: 5.298 MB / 400.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.2899, allocations: 371.4 kB / 401.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003569/0.2903, allocations: 308 kB / 401.5 MB, free: 10.67 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.0009624/0.2912, allocations: 0.5382 MB / 402.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/0.2917, allocations: 278.4 kB / 402.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007473/0.2991, allocations: 3.703 MB / 406 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.655e-05/0.2992, allocations: 31.94 kB / 406.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/0.2992, allocations: 11.94 kB / 406.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.2992, allocations: 11.97 kB / 406.1 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.3147, allocations: 8.951 MB / 415 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.3147, allocations: 0 / 415 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.3154, allocations: 239.6 kB / 415.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007434/0.3229, allocations: 3.406 MB / 418.7 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/0.3231, allocations: 47.95 kB / 418.7 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007906/0.331, allocations: 4.864 MB / 423.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.331, allocations: 0 / 423.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1548/0.4859, allocations: 5.805 MB / 429.4 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/0.4865, allocations: 235.8 kB / 429.6 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.4868, allocations: 37.08 kB / 429.7 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.4884, allocations: 213.1 kB / 429.9 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004972/0.4889, allocations: 115.6 kB / 430 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/0.4891, allocations: 57.11 kB / 430 MB, free: 112.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002654/0.4918, allocations: 1.049 MB / 431.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4918, allocations: 0 / 431.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00655/0.4983, allocations: 0.9056 MB / 432 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.0006628/0.499, allocations: 180.9 kB / 432.2 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.00717/0.5062, allocations: 3.58 MB / 435.8 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.5062, allocations: 3.875 kB / 435.8 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.5088, allocations: 1.528 MB / 437.3 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.001536/0.5103, allocations: 286.2 kB / 437.6 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/0.5176, allocations: 5.433 MB / 443 MB, free: 109.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.5183, allocations: 0.816 MB / 443.8 MB, free: 109.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00177/0.5201, allocations: 1.29 MB / 445.1 MB, free: 109.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.5205, allocations: 184.3 kB / 445.3 MB, free: 109.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.304e-06/0.5205, allocations: 0 / 445.3 MB, free: 109.3 MB / 378.7 MB Notification: Performance of Templates: time 0.03897/0.5595, allocations: 39.88 MB / 485.2 MB, free: 76.09 MB / 378.7 MB " [Timeout remaining time 659] 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: 4.350278642959893]