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.001338/0.001338, allocations: 73.02 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.00143/0.00143, allocations: 159.2 kB / 24.5 MB, free: 3.715 MB / 14.72 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.411/1.411, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|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.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 55.84 kB / 325.6 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.0914, allocations: 53.33 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008252/0.09965, allocations: 6.244 MB / 385.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.1055, allocations: 2.975 MB / 388.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.1062, allocations: 35.88 kB / 388.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.108, allocations: 0.8873 MB / 389.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.1108, allocations: 1.382 MB / 390.4 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.1118, allocations: 0.5186 MB / 391 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.1148, allocations: 2.759 MB / 393.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.1162, allocations: 1.231 MB / 394.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009403/0.1171, allocations: 0.8797 MB / 395.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.1198, allocations: 2.221 MB / 398 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003618/0.1201, allocations: 176 kB / 398.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.1216, allocations: 0.8658 MB / 399.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.1227, allocations: 1.137 MB / 400.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009777/0.1236, allocations: 0.9394 MB / 401.2 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00441/0.128, allocations: 4.404 MB / 405.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.128, allocations: 0 / 405.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1281, allocations: 4 kB / 405.6 MB, free: 5.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.1281, allocations: 0 / 405.6 MB, free: 5.043 MB / 366.1 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.00725/0.1353, allocations: 3.368 MB / 408.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1354, allocations: 8.031 kB / 408.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006179/0.1415, allocations: 1.735 MB / 410.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.1444, allocations: 1.442 MB / 412.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.1445, allocations: 131.2 kB / 412.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/0.1448, allocations: 167.8 kB / 412.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009075/0.1539, allocations: 6.582 MB / 419 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.231e-05/0.154, allocations: 47.62 kB / 419 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.1542, allocations: 91.83 kB / 419.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002051/0.1563, allocations: 1.327 MB / 420.5 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009754/0.166, allocations: 5.769 MB / 426.2 MB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03111/0.1971, allocations: 26.58 MB / 452.8 MB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006421/0.2036, allocations: 2.291 MB / 455.1 MB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.2054, allocations: 1.22 MB / 456.3 MB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/0.2059, allocations: 184.2 kB / 456.5 MB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.206, allocations: 50.94 kB / 456.5 MB, free: 0.5156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.587e-06/0.206, allocations: 0 / 456.5 MB, free: 0.5156 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.2498/0.4557, allocations: 21.27 MB / 477.8 MB, free: 84.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4558, allocations: 176.4 kB / 478 MB, free: 83.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.4589, allocations: 2.657 MB / 480.6 MB, free: 82.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.4591, allocations: 47.42 kB / 480.7 MB, free: 82.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008374/0.46, allocations: 2.179 MB / 482.9 MB, free: 81.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.4604, allocations: 0.6595 MB / 483.5 MB, free: 80.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.4616, allocations: 1.008 MB / 484.5 MB, free: 80.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.4617, allocations: 354.7 kB / 484.9 MB, free: 80.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.4644, allocations: 2.23 MB / 487.1 MB, free: 79.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.4681, allocations: 5.153 MB / 492.3 MB, free: 74.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005983/0.474, allocations: 7.974 MB / 0.4885 GB, free: 68.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-05/0.4741, allocations: 30.91 kB / 0.4885 GB, free: 68.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01914/0.4932, allocations: 10.24 MB / 0.4985 GB, free: 60.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.4933, allocations: 48 kB / 0.4986 GB, free: 60.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.818e-05/0.4933, allocations: 105.6 kB / 0.4987 GB, free: 59.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.504, allocations: 3.434 MB / 0.502 GB, free: 56.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/0.5069, allocations: 1.092 MB / 0.5031 GB, free: 55.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/0.5224, allocations: 12.58 MB / 0.5154 GB, free: 42.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/0.5261, allocations: 331.5 kB / 0.5157 GB, free: 42.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004317/0.5266, allocations: 307.9 kB / 0.516 GB, free: 42.05 MB / 430.1 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.001633/0.5282, allocations: 1.471 MB / 0.5174 GB, free: 40.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.5286, allocations: 238.4 kB / 0.5177 GB, free: 40.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.5427, allocations: 5.94 MB / 0.5235 GB, free: 34.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/0.5427, allocations: 31.98 kB / 0.5235 GB, free: 34.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.5427, allocations: 8 kB / 0.5235 GB, free: 34.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.5428, allocations: 15.97 kB / 0.5235 GB, free: 34.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/0.5677, allocations: 12.46 MB / 0.5357 GB, free: 21.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5677, allocations: 0 / 0.5357 GB, free: 21.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.5687, allocations: 235.7 kB / 0.5359 GB, free: 21.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/0.5802, allocations: 4.008 MB / 0.5398 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/0.5804, allocations: 42.59 kB / 0.5399 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/0.5963, allocations: 12.59 MB / 0.5522 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5963, allocations: 0 / 0.5522 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/0.6172, allocations: 10.05 MB / 0.562 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000783/0.618, allocations: 210.3 kB / 0.5622 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.6183, allocations: 35.98 kB / 0.5622 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.62, allocations: 187.7 kB / 0.5624 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004093/0.6204, allocations: 124.6 kB / 0.5625 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.6206, allocations: 55.8 kB / 0.5626 GB, free: 10.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002181/0.6228, allocations: 1.5 MB / 0.564 GB, free: 8.672 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6228, allocations: 0 / 0.564 GB, free: 8.672 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003743/0.6265, allocations: 0.8124 MB / 0.5648 GB, free: 7.859 MB / 446.1 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.0003989/0.6269, allocations: 165.2 kB / 0.565 GB, free: 7.699 MB / 446.1 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.01073/0.6376, allocations: 5.561 MB / 0.5704 GB, free: 2.125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6376, allocations: 4 kB / 0.5704 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005352/0.643, allocations: 2.284 MB / 0.5726 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.6449, allocations: 258 kB / 0.5729 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.6565, allocations: 7.376 MB / 0.5801 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/0.6589, allocations: 1.748 MB / 0.5818 GB, free: 6.398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003382/0.6622, allocations: 1.486 MB / 0.5833 GB, free: 4.906 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.6627, allocations: 184.4 kB / 0.5834 GB, free: 4.727 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6627, allocations: 3.938 kB / 0.5834 GB, free: 4.723 MB / 462.1 MB Notification: Performance of Templates: time 0.06798/0.7307, allocations: 37.89 MB / 0.6204 GB, free: 15.23 MB / 0.4981 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.241757967974991]