Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 81.97 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 147.1 kB / 23.94 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.732e-05, allocations: 3.812 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.006333/0.006351, allocations: 6.248 MB / 325.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006171/0.01252, allocations: 2.974 MB / 328.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.01322, allocations: 34.5 kB / 328.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.01521, allocations: 0.919 MB / 329.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.01831, allocations: 1.462 MB / 330.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.01946, allocations: 0.5759 MB / 331.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.02375, allocations: 4.02 MB / 335.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.02583, allocations: 1.802 MB / 337 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.02779, allocations: 1.439 MB / 338.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.03006, allocations: 1.699 MB / 340.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.03036, allocations: 184 kB / 340.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.03202, allocations: 0.9241 MB / 341.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.03315, allocations: 1.215 MB / 342.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000936/0.03408, allocations: 0.7398 MB / 343.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00512/0.0392, allocations: 4.493 MB / 347.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.03921, allocations: 0 / 347.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03921, allocations: 0 / 347.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.866e-05/0.03927, allocations: 0 / 347.7 MB, free: 14.89 MB / 318.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.007073/0.04634, allocations: 3.306 MB / 351 MB, free: 11.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.04638, allocations: 12.92 kB / 351 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006295/0.05268, allocations: 1.735 MB / 352.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.0554, allocations: 1.433 MB / 354.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.05551, allocations: 123.5 kB / 354.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.05584, allocations: 171.8 kB / 354.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009461/0.0653, allocations: 6.601 MB / 361 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.736e-05/0.06537, allocations: 31.7 kB / 361.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.06563, allocations: 99.83 kB / 361.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002085/0.06771, allocations: 1.327 MB / 362.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009907/0.07762, allocations: 5.765 MB / 368.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.1091, allocations: 26.67 MB / 394.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00618/0.1153, allocations: 2.295 MB / 397.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.1169, allocations: 1.22 MB / 398.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/0.1174, allocations: 188.2 kB / 398.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.1174, allocations: 51 kB / 398.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=129): time 3.286e-06/0.1175, allocations: 0 / 398.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=163): time 0.07557/0.193, allocations: 21.34 MB / 420 MB, free: 4.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.1931, allocations: 171.2 kB / 420.2 MB, free: 4.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/0.1969, allocations: 2.757 MB / 422.9 MB, free: 1.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.1972, allocations: 45.7 kB / 423 MB, free: 1.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.1987, allocations: 2.163 MB / 425.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007095/0.1994, allocations: 0.6512 MB / 425.8 MB, free: 15.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/0.2009, allocations: 0.9888 MB / 426.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.201, allocations: 349.9 kB / 427.1 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/0.2042, allocations: 2.231 MB / 429.4 MB, free: 11.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00566/0.2099, allocations: 5.15 MB / 434.5 MB, free: 4.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.2205, allocations: 7.974 MB / 442.5 MB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.012e-05/0.2206, allocations: 28 kB / 442.5 MB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02535/0.2459, allocations: 10.26 MB / 452.8 MB, free: 1.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/0.246, allocations: 48 kB / 452.8 MB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.2461, allocations: 107.9 kB / 452.9 MB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/0.2591, allocations: 3.42 MB / 456.3 MB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.2628, allocations: 1.092 MB / 457.4 MB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1738/0.4366, allocations: 12.65 MB / 470.1 MB, free: 124.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/0.4405, allocations: 356.1 kB / 470.4 MB, free: 124.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004517/0.4409, allocations: 313.8 kB / 470.7 MB, free: 124.7 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.001909/0.4428, allocations: 1.457 MB / 472.2 MB, free: 124.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/0.4433, allocations: 238 kB / 472.4 MB, free: 124.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/0.4594, allocations: 5.952 MB / 478.4 MB, free: 123.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/0.4595, allocations: 28.73 kB / 478.4 MB, free: 123.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.4595, allocations: 9.047 kB / 478.4 MB, free: 123.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/0.4595, allocations: 12.47 kB / 478.4 MB, free: 123.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/0.4858, allocations: 12.5 MB / 490.9 MB, free: 119.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.4858, allocations: 3.656 kB / 490.9 MB, free: 119.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.4868, allocations: 232.8 kB / 491.2 MB, free: 119.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/0.4985, allocations: 4.015 MB / 495.2 MB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002047/0.4987, allocations: 51.3 kB / 495.2 MB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/0.514, allocations: 12.61 MB / 0.4959 GB, free: 109.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.514, allocations: 8.438 kB / 0.4959 GB, free: 109.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/0.5325, allocations: 10.05 MB / 0.5058 GB, free: 99.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008017/0.5333, allocations: 239 kB / 0.506 GB, free: 99.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000419/0.5337, allocations: 38.25 kB / 0.506 GB, free: 99.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.5355, allocations: 211.6 kB / 0.5062 GB, free: 99.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004611/0.5359, allocations: 116.8 kB / 0.5063 GB, free: 99.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.5361, allocations: 55.91 kB / 0.5064 GB, free: 99.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001876/0.538, allocations: 1.582 MB / 0.5079 GB, free: 97.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.538, allocations: 0 / 0.5079 GB, free: 97.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004269/0.5422, allocations: 0.9261 MB / 0.5088 GB, free: 96.77 MB / 430.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.0005405/0.5428, allocations: 188.8 kB / 0.509 GB, free: 96.59 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.008673/0.5514, allocations: 5.569 MB / 0.5145 GB, free: 91.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.5514, allocations: 5.031 kB / 0.5145 GB, free: 91.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00425/0.5557, allocations: 2.264 MB / 0.5167 GB, free: 88.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.5576, allocations: 253.2 kB / 0.5169 GB, free: 88.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008123/0.5657, allocations: 7.217 MB / 0.524 GB, free: 81.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.5672, allocations: 1.753 MB / 0.5257 GB, free: 79.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002452/0.5697, allocations: 1.483 MB / 0.5271 GB, free: 77.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.5701, allocations: 188.4 kB / 0.5273 GB, free: 77.8 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5701, allocations: 6.406 kB / 0.5273 GB, free: 77.8 MB / 430.1 MB Notification: Performance of Templates: time 0.04999/0.6201, allocations: 39.25 MB / 0.5656 GB, free: 38.96 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.217759732156992]