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.001385/0.001385, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001545/0.001545, allocations: 169 kB / 24.99 MB, free: 8.227 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.9334/0.9334, allocations: 177.1 MB / 205.3 MB, free: 5.211 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.543e-06/1.543e-06, allocations: 0 / 273.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.316e-05, allocations: 2.312 kB / 273.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.006959/0.006983, allocations: 6.825 MB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00445/0.01143, allocations: 3.084 MB / 283 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.01204, allocations: 35.81 kB / 283 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.01337, allocations: 0.9651 MB / 284 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.01559, allocations: 1.424 MB / 285.4 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.01642, allocations: 0.5808 MB / 286 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.01987, allocations: 4.169 MB / 290.2 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1055/0.1253, allocations: 1.863 MB / 292 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.1279, allocations: 1.428 MB / 293.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.1306, allocations: 1.71 MB / 295.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006666/0.1312, allocations: 183.8 kB / 295.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.1327, allocations: 0.9188 MB / 296.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009738/0.1337, allocations: 1.193 MB / 297.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.1349, allocations: 0.7287 MB / 298.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.1382, allocations: 2.955 MB / 301.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1382, allocations: 0 / 301.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1382, allocations: 0.7188 kB / 301.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001183/0.1383, allocations: 0 / 301.1 MB, free: 14.41 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.006037/0.1444, allocations: 3.67 MB / 304.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1444, allocations: 7.812 kB / 304.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/0.1481, allocations: 2.043 MB / 306.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.1495, allocations: 1.318 MB / 308.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/0.1496, allocations: 130.5 kB / 308.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.1498, allocations: 175.8 kB / 308.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/0.1534, allocations: 4.121 MB / 312.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.1534, allocations: 33.31 kB / 312.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.1536, allocations: 88.58 kB / 312.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.1546, allocations: 1.32 MB / 314 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/0.1579, allocations: 2.247 MB / 316.3 MB, free: 5.07 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.01944/0.1774, allocations: 31.82 MB / 348.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.1805, allocations: 1.435 MB / 349.5 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.181, allocations: 452.9 kB / 350 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.1813, allocations: 183.3 kB / 350.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1814, allocations: 52.7 kB / 350.2 MB, free: 2.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.517e-06/0.1814, allocations: 4 kB / 350.2 MB, free: 2.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.03419/0.2155, allocations: 14.94 MB / 365.2 MB, free: 3.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.2156, allocations: 171.2 kB / 365.3 MB, free: 3.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.2187, allocations: 2.506 MB / 367.8 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.2189, allocations: 45.7 kB / 367.9 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.2203, allocations: 2.293 MB / 370.2 MB, free: 14.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008764/0.2212, allocations: 0.6725 MB / 370.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.2225, allocations: 1.07 MB / 371.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2227, allocations: 0.5316 MB / 372.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.2242, allocations: 0.7748 MB / 373.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004078/0.2283, allocations: 5.106 MB / 378.3 MB, free: 4.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006328/0.2346, allocations: 6.489 MB / 384.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.124e-05/0.2347, allocations: 28 kB / 384.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01521/0.2499, allocations: 6.774 MB / 391.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.25, allocations: 52 kB / 391.7 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.2501, allocations: 100 kB / 391.8 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00901/0.2591, allocations: 2.821 MB / 394.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.2621, allocations: 1.088 MB / 395.7 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009139/0.2712, allocations: 5.3 MB / 401 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.2735, allocations: 367.4 kB / 401.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.2738, allocations: 310 kB / 401.6 MB, free: 10.71 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.0009325/0.2747, allocations: 0.5378 MB / 402.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.2751, allocations: 278.5 kB / 402.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008356/0.2835, allocations: 3.703 MB / 406.1 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-05/0.2835, allocations: 27.94 kB / 406.2 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/0.2835, allocations: 8 kB / 406.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.2836, allocations: 11.97 kB / 406.2 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/0.3016, allocations: 8.964 MB / 415.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.3016, allocations: 0 / 415.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.3022, allocations: 235.6 kB / 415.4 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007457/0.3097, allocations: 3.41 MB / 418.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.3099, allocations: 43.97 kB / 418.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007408/0.3173, allocations: 4.867 MB / 423.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3173, allocations: 0 / 423.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.3273, allocations: 5.817 MB / 429.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.3278, allocations: 230.2 kB / 429.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.3281, allocations: 36.11 kB / 429.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009465/0.329, allocations: 218.7 kB / 430 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.3293, allocations: 120.6 kB / 430.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.3294, allocations: 51.97 kB / 430.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001312/0.3307, allocations: 1.055 MB / 431.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3307, allocations: 0 / 431.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003029/0.3338, allocations: 0.9019 MB / 432.1 MB, free: 11.88 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.0003966/0.3342, allocations: 181.8 kB / 432.3 MB, free: 11.69 MB / 394.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.005209/0.3394, allocations: 3.584 MB / 435.9 MB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3394, allocations: 0 / 435.9 MB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.3417, allocations: 1.526 MB / 437.4 MB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3428, allocations: 278.2 kB / 437.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/0.35, allocations: 5.425 MB / 443.1 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09209/0.442, allocations: 0.8191 MB / 443.9 MB, free: 136.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002498/0.4445, allocations: 1.282 MB / 445.2 MB, free: 136.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.445, allocations: 180 kB / 445.4 MB, free: 136.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.954e-06/0.445, allocations: 0 / 445.4 MB, free: 136.4 MB / 394.7 MB Notification: Performance of Templates: time 0.03867/0.4837, allocations: 39.9 MB / 485.3 MB, free: 111 MB / 394.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.9607971890363842]