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.00101/0.00101, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001094/0.001094, allocations: 165 kB / 24.56 MB, free: 20 kB / 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 1.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.285 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 2.314e-06/2.314e-06, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.913e-05, allocations: 2.312 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.006474/0.006503, allocations: 6.848 MB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.01134, allocations: 3.099 MB / 282.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/0.01212, allocations: 31.88 kB / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.01361, allocations: 0.9689 MB / 283.9 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.01636, allocations: 1.416 MB / 285.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.01725, allocations: 0.5885 MB / 285.9 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00346/0.02071, allocations: 4.173 MB / 290.1 MB, free: 200 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1346/0.1553, allocations: 1.86 MB / 292 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003364/0.1586, allocations: 1.429 MB / 293.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.1618, allocations: 1.715 MB / 295.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008613/0.1626, allocations: 183.8 kB / 295.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.1645, allocations: 0.9114 MB / 296.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.1657, allocations: 1.198 MB / 297.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.1672, allocations: 0.7269 MB / 298.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.1711, allocations: 2.954 MB / 301.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1711, allocations: 0.625 kB / 301.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1711, allocations: 4.875 kB / 301.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001201/0.1712, allocations: 0 / 301.1 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.006331/0.1775, allocations: 3.662 MB / 304.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.1776, allocations: 11.06 kB / 304.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.1813, allocations: 2.041 MB / 306.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.1832, allocations: 1.325 MB / 308.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.1833, allocations: 131.1 kB / 308.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.1835, allocations: 168.2 kB / 308.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.1878, allocations: 4.122 MB / 312.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/0.1878, allocations: 32.05 kB / 312.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.188, allocations: 89.22 kB / 312.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001321/0.1894, allocations: 1.325 MB / 314 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003933/0.1933, allocations: 2.247 MB / 316.2 MB, free: 5.172 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.02149/0.2148, allocations: 31.83 MB / 348.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.2177, allocations: 1.43 MB / 349.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.2182, allocations: 450.7 kB / 349.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.2185, allocations: 186.2 kB / 350.1 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2185, allocations: 57.27 kB / 350.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.687e-06/0.2185, allocations: 0 / 350.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.03174/0.2503, allocations: 14.94 MB / 365.1 MB, free: 3.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.2503, allocations: 175.2 kB / 365.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.2531, allocations: 2.498 MB / 367.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.2533, allocations: 45.7 kB / 367.8 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.2545, allocations: 2.299 MB / 370.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005643/0.255, allocations: 0.6749 MB / 370.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.2561, allocations: 1.068 MB / 371.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2562, allocations: 0.5277 MB / 372.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.2575, allocations: 0.7786 MB / 373.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.2607, allocations: 5.102 MB / 378.3 MB, free: 4.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005348/0.266, allocations: 6.493 MB / 384.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.861e-05/0.2661, allocations: 32 kB / 384.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.012/0.2781, allocations: 6.768 MB / 391.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.2781, allocations: 48 kB / 391.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.059e-05/0.2782, allocations: 104 kB / 391.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006882/0.2851, allocations: 2.817 MB / 394.5 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.2873, allocations: 1.096 MB / 395.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008002/0.2953, allocations: 5.298 MB / 400.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.2978, allocations: 367.4 kB / 401.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/0.2982, allocations: 304 kB / 401.6 MB, free: 10.82 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.001095/0.2993, allocations: 0.542 MB / 402.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/0.2998, allocations: 274.5 kB / 402.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007623/0.3074, allocations: 3.703 MB / 406.1 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-05/0.3075, allocations: 31.92 kB / 406.1 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.3075, allocations: 12 kB / 406.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.3075, allocations: 7.984 kB / 406.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.3228, allocations: 8.956 MB / 415.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.3228, allocations: 4 kB / 415.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006607/0.3235, allocations: 231.6 kB / 415.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007278/0.3308, allocations: 3.417 MB / 418.7 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/0.331, allocations: 43.95 kB / 418.8 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00752/0.3385, allocations: 4.87 MB / 423.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3385, allocations: 0 / 423.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1546/0.4932, allocations: 5.802 MB / 429.5 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.4943, allocations: 239.2 kB / 429.7 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.4946, allocations: 35.61 kB / 429.7 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.4957, allocations: 214.5 kB / 429.9 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004073/0.4961, allocations: 118.2 kB / 430.1 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.4963, allocations: 53.11 kB / 430.1 MB, free: 112.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001908/0.4982, allocations: 1.054 MB / 431.2 MB, free: 111.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4982, allocations: 0 / 431.2 MB, free: 111.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003612/0.5018, allocations: 0.9033 MB / 432.1 MB, free: 111.9 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.0005199/0.5023, allocations: 177.2 kB / 432.2 MB, free: 111.8 MB / 378.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.006827/0.5091, allocations: 3.58 MB / 435.8 MB, free: 111.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.5091, allocations: 0 / 435.8 MB, free: 111.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.5117, allocations: 1.539 MB / 437.4 MB, free: 111.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.5132, allocations: 272.4 kB / 437.6 MB, free: 111.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/0.5208, allocations: 5.427 MB / 443.1 MB, free: 109.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.5216, allocations: 0.816 MB / 443.9 MB, free: 109.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001863/0.5234, allocations: 1.281 MB / 445.1 MB, free: 109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.5238, allocations: 191.3 kB / 445.3 MB, free: 109 MB / 378.7 MB Notification: Performance of SimCode: time 2.465e-06/0.5238, allocations: 0 / 445.3 MB, free: 109 MB / 378.7 MB Notification: Performance of Templates: time 0.04617/0.57, allocations: 39.89 MB / 485.2 MB, free: 76.24 MB / 378.7 MB " [Timeout remaining time 659] 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: 4.348397654015571]