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.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.001501/0.001501, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001514/0.001514, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04707/0.04707, allocations: 9.25 MB / 322.4 MB, free: 9.875 MB / 254.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/package.mo) 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(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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.89 kB / 448.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1063, allocations: 55.46 MB / 0.4926 GB, free: 6.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01012/0.1165, allocations: 7.779 MB / 0.5002 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.122, allocations: 2.647 MB / 0.5027 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007802/0.1228, allocations: 35.88 kB / 0.5028 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008335/0.1236, allocations: 389.4 kB / 0.5032 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.1268, allocations: 1.447 MB / 0.5046 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.1273, allocations: 175.7 kB / 0.5047 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.1303, allocations: 2.534 MB / 0.5072 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000962/0.1312, allocations: 0.7299 MB / 0.5079 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.1324, allocations: 0.93 MB / 0.5088 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.1343, allocations: 1.389 MB / 0.5102 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004039/0.1347, allocations: 232 kB / 0.5104 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.1363, allocations: 0.823 MB / 0.5112 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.1375, allocations: 1.219 MB / 0.5124 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.1387, allocations: 1.098 MB / 0.5135 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2354/0.3741, allocations: 5.067 MB / 0.5184 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3741, allocations: 0.6094 kB / 0.5184 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3741, allocations: 0 / 0.5184 GB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.3743, allocations: 0 / 0.5184 GB, free: 12.66 MB / 382.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.0178/0.3921, allocations: 5.088 MB / 0.5234 GB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3921, allocations: 10.78 kB / 0.5234 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/0.3986, allocations: 1.795 MB / 0.5252 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/0.4018, allocations: 1.385 MB / 0.5265 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.4019, allocations: 147.1 kB / 0.5266 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/0.4024, allocations: 198.1 kB / 0.5268 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.4168, allocations: 8.477 MB / 0.5351 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.277e-05/0.4169, allocations: 24.98 kB / 0.5351 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/0.4172, allocations: 91.19 kB / 0.5352 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003001/0.4202, allocations: 1.882 MB / 0.5371 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.4365, allocations: 8.12 MB / 0.545 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/0.4732, allocations: 23.48 MB / 0.5679 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.487, allocations: 2.309 MB / 0.5702 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/0.4896, allocations: 1.034 MB / 0.5712 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00805/0.4977, allocations: 2.817 MB / 0.5739 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.4977, allocations: 47.86 kB / 0.574 GB, free: 9.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 4.498e-06/0.4977, allocations: 4 kB / 0.574 GB, free: 9.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.01771/0.5154, allocations: 7.7 MB / 0.5815 GB, free: 1.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.5155, allocations: 72.47 kB / 0.5816 GB, free: 1.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/0.5188, allocations: 2.219 MB / 0.5837 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.5189, allocations: 49.7 kB / 0.5838 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.5206, allocations: 2.181 MB / 0.5859 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006513/0.5212, allocations: 0.6768 MB / 0.5866 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.5224, allocations: 0.8168 MB / 0.5874 GB, free: 11.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.5226, allocations: 349.9 kB / 0.5877 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.5249, allocations: 1.382 MB / 0.5891 GB, free: 10.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/0.5291, allocations: 3.537 MB / 0.5925 GB, free: 5.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006889/0.536, allocations: 5.323 MB / 0.5977 GB, free: 15.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.081e-05/0.536, allocations: 24 kB / 0.5977 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009057/0.5451, allocations: 5.094 MB / 0.6027 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.5451, allocations: 36 kB / 0.6027 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.5453, allocations: 76 kB / 0.6028 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/0.546, allocations: 318 kB / 0.6031 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.5489, allocations: 0.9002 MB / 0.604 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004317/0.5532, allocations: 3.144 MB / 0.6071 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.556, allocations: 198.6 kB / 0.6073 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004949/0.5565, allocations: 244 kB / 0.6075 GB, free: 5.707 MB / 446.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.002814/0.5593, allocations: 1.57 MB / 0.609 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/0.5598, allocations: 206.6 kB / 0.6092 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/0.5641, allocations: 2.328 MB / 0.6115 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/0.5642, allocations: 27.98 kB / 0.6115 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.5642, allocations: 0 / 0.6115 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.5642, allocations: 11.97 kB / 0.6115 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.5746, allocations: 5.154 MB / 0.6166 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5746, allocations: 0 / 0.6166 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.5757, allocations: 259.6 kB / 0.6168 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/0.5762, allocations: 201.9 kB / 0.617 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.5764, allocations: 38.61 kB / 0.617 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.5797, allocations: 2.717 MB / 0.6197 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5798, allocations: 7.938 kB / 0.6197 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/0.5854, allocations: 3.573 MB / 0.6232 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.586, allocations: 202.6 kB / 0.6234 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.5863, allocations: 33.97 kB / 0.6234 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/0.5872, allocations: 68.8 kB / 0.6235 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.5874, allocations: 105.1 kB / 0.6236 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.5875, allocations: 50.41 kB / 0.6236 GB, free: 4.957 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002299/0.5898, allocations: 1.301 MB / 0.6249 GB, free: 3.664 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5898, allocations: 0 / 0.6249 GB, free: 3.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00294/0.5927, allocations: 0.6835 MB / 0.6256 GB, free: 2.98 MB / 462.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.0004313/0.5932, allocations: 182.6 kB / 0.6257 GB, free: 2.797 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00577/0.5989, allocations: 3.294 MB / 0.629 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.599, allocations: 0 / 0.629 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.6007, allocations: 1.117 MB / 0.6301 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.6022, allocations: 259.7 kB / 0.6303 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.6162, allocations: 7.276 MB / 0.6374 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/0.6197, allocations: 2.038 MB / 0.6394 GB, free: 4.746 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008156/0.6205, allocations: 203.4 kB / 0.6396 GB, free: 4.547 MB / 478.1 MB Notification: Performance of SimCode: time 1.423e-06/0.6205, allocations: 0 / 0.6396 GB, free: 4.547 MB / 478.1 MB Notification: Performance of Templates: time 0.1021/0.7226, allocations: 72.11 MB / 0.71 GB, free: 12.52 MB / 0.545 GB " [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: 11.032753287814558] Failed to read output from testmodel.py, exit status != 0: 0.7315398170612752 0.917578038 0.369032014 Calling exit ...