Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.001984/0.001984, allocations: 105.7 kB / 16.39 MB, free: 6.383 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.002125/0.002125, allocations: 190.9 kB / 19.34 MB, free: 3.84 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.509/1.509, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04925/0.04925, allocations: 9.138 MB / 306.3 MB, free: 3.742 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) 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(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 423.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 51.45 MB / 474.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01097/0.1136, allocations: 8.784 MB / 483.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00543/0.1191, allocations: 2.741 MB / 486.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.12, allocations: 35.94 kB / 486.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008054/0.1208, allocations: 361.5 kB / 486.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.124, allocations: 1.408 MB / 488.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.1245, allocations: 179.7 kB / 488.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002996/0.1275, allocations: 2.553 MB / 490.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.1287, allocations: 0.8816 MB / 491.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1299, allocations: 0.9104 MB / 492.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1317, allocations: 1.327 MB / 494 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.1322, allocations: 232 kB / 494.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.1339, allocations: 0.8894 MB / 495.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.1353, allocations: 1.223 MB / 496.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.1372, allocations: 1.569 MB / 497.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006921/0.1441, allocations: 5.1 MB / 0.4912 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1441, allocations: 0 / 0.4912 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1441, allocations: 0 / 0.4912 GB, free: 4.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.969e-05/0.1442, allocations: 0 / 0.4912 GB, free: 4.238 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01812/0.1624, allocations: 5.131 MB / 0.4962 GB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1624, allocations: 12.03 kB / 0.4962 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/0.1695, allocations: 1.777 MB / 0.4979 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.1723, allocations: 1.437 MB / 0.4993 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.1725, allocations: 152 kB / 0.4995 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.173, allocations: 203.9 kB / 0.4997 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.1896, allocations: 8.476 MB / 0.508 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.464e-05/0.1898, allocations: 19.83 kB / 0.508 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.1901, allocations: 91.88 kB / 0.5081 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003429/0.1936, allocations: 1.883 MB / 0.5099 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2865/0.4801, allocations: 8.141 MB / 0.5179 GB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03412/0.5142, allocations: 25.96 MB / 0.5432 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008951/0.5232, allocations: 2.854 MB / 0.546 GB, free: 19.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.5247, allocations: 1.085 MB / 0.547 GB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005146/0.5298, allocations: 5.049 MB / 0.552 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.5299, allocations: 45.81 kB / 0.552 GB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 2.945e-06/0.5299, allocations: 3.938 kB / 0.552 GB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01435/0.5442, allocations: 8.052 MB / 0.5599 GB, free: 4.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.5443, allocations: 64.72 kB / 0.5599 GB, free: 4.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.5475, allocations: 2.623 MB / 0.5625 GB, free: 2.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.5478, allocations: 45.7 kB / 0.5626 GB, free: 1.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.5489, allocations: 2.155 MB / 0.5647 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007824/0.5497, allocations: 0.6744 MB / 0.5653 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.5508, allocations: 0.8104 MB / 0.5661 GB, free: 14.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.551, allocations: 305.1 kB / 0.5664 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/0.5535, allocations: 1.382 MB / 0.5677 GB, free: 12.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/0.5578, allocations: 3.544 MB / 0.5712 GB, free: 8.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007204/0.5651, allocations: 5.314 MB / 0.5764 GB, free: 1.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.911e-05/0.5651, allocations: 20 kB / 0.5764 GB, free: 1.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009209/0.5744, allocations: 5.15 MB / 0.5814 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.5744, allocations: 40 kB / 0.5815 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.534e-05/0.5745, allocations: 76 kB / 0.5816 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007905/0.5753, allocations: 314.3 kB / 0.5819 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/0.5782, allocations: 0.9007 MB / 0.5827 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.5823, allocations: 3.295 MB / 0.586 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.5849, allocations: 187.9 kB / 0.5861 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003665/0.5852, allocations: 247.5 kB / 0.5864 GB, free: 7.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 487 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002343/0.5876, allocations: 1.576 MB / 0.5879 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/0.588, allocations: 242.3 kB / 0.5881 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.5922, allocations: 2.367 MB / 0.5905 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/0.5923, allocations: 27.98 kB / 0.5905 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.5923, allocations: 4 kB / 0.5905 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.5923, allocations: 7.969 kB / 0.5905 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.6028, allocations: 6.266 MB / 0.5966 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.6028, allocations: 352 / 0.5966 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.604, allocations: 263.6 kB / 0.5969 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000609/0.6046, allocations: 208.2 kB / 0.5971 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-05/0.6047, allocations: 28 kB / 0.5971 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003741/0.6085, allocations: 2.875 MB / 0.5999 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6085, allocations: 4 kB / 0.5999 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006019/0.6145, allocations: 3.625 MB / 0.6034 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/0.6153, allocations: 311.5 kB / 0.6037 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.6156, allocations: 38.89 kB / 0.6038 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/0.6165, allocations: 63.92 kB / 0.6038 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.6167, allocations: 97.19 kB / 0.6039 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.6168, allocations: 57.88 kB / 0.604 GB, free: 4.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002858/0.6197, allocations: 1.688 MB / 0.6056 GB, free: 3.266 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6197, allocations: 0 / 0.6056 GB, free: 3.266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003701/0.6234, allocations: 0.7108 MB / 0.6063 GB, free: 2.555 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * 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 (140): * Single equations (assignments): 134 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005263/0.624, allocations: 190.8 kB / 0.6065 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006805/0.6308, allocations: 3.509 MB / 0.6099 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.6308, allocations: 0 / 0.6099 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.6329, allocations: 1.252 MB / 0.6112 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.6351, allocations: 390.3 kB / 0.6115 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.6479, allocations: 6.899 MB / 0.6183 GB, free: 6.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/0.6513, allocations: 2.606 MB / 0.6208 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00315/0.6545, allocations: 1.224 MB / 0.622 GB, free: 2.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/0.6551, allocations: 179.4 kB / 0.6222 GB, free: 2.18 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6551, allocations: 0 / 0.6222 GB, free: 2.18 MB / 446.1 MB Notification: Performance of Templates: time 0.05492/0.71, allocations: 26.88 MB / 0.6484 GB, free: 7.43 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.985820567235351]