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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009425, allocations: 91.14 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.2164/0.2164, allocations: 9.113 MB / 300.2 MB, free: 2.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8 kB / 363.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 52.43 MB / 415.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.2881/0.4279, allocations: 21.43 MB / 437 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.4404, allocations: 5.255 MB / 442.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.4459, allocations: 90.56 kB / 442.3 MB, free: 29.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.4491, allocations: 1.008 MB / 443.3 MB, free: 28.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.4596, allocations: 3.661 MB / 447 MB, free: 27.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.4615, allocations: 153 kB / 447.1 MB, free: 27.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003558/0.4651, allocations: 2.793 MB / 449.9 MB, free: 26.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.4662, allocations: 0.7915 MB / 450.7 MB, free: 25.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.4673, allocations: 0.7994 MB / 451.5 MB, free: 25.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.4687, allocations: 1.306 MB / 452.8 MB, free: 25.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.469, allocations: 129 kB / 453 MB, free: 25.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.4705, allocations: 0.7179 MB / 453.7 MB, free: 24.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.4715, allocations: 1.101 MB / 454.8 MB, free: 24.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006576/0.4721, allocations: 0.6375 MB / 455.4 MB, free: 24.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.4757, allocations: 3.727 MB / 459.1 MB, free: 23.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4757, allocations: 2.781 kB / 459.1 MB, free: 23.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4757, allocations: 0 / 459.1 MB, free: 23.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.118e-05/0.4758, allocations: 0 / 459.1 MB, free: 23.23 MB / 350.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.01345/0.4893, allocations: 4.43 MB / 463.6 MB, free: 21.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4893, allocations: 6.688 kB / 463.6 MB, free: 21.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007503/0.4968, allocations: 1.812 MB / 465.4 MB, free: 21.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/0.5008, allocations: 1.398 MB / 466.8 MB, free: 20.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.501, allocations: 151.8 kB / 466.9 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007159/0.5017, allocations: 194.5 kB / 467.1 MB, free: 20.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.5187, allocations: 8.467 MB / 475.6 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.17e-05/0.5188, allocations: 24.75 kB / 475.6 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/0.5192, allocations: 88.44 kB / 475.7 MB, free: 16.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003261/0.5225, allocations: 1.89 MB / 477.6 MB, free: 16.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.5396, allocations: 8.117 MB / 485.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04425/0.5839, allocations: 25.97 MB / 0.4997 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009299/0.5932, allocations: 2.878 MB / 0.5025 GB, free: 0 / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.5951, allocations: 1.08 MB / 0.5036 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007282/0.6024, allocations: 5.045 MB / 0.5085 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.6025, allocations: 47.88 kB / 0.5085 GB, free: 9.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 4.538e-06/0.6025, allocations: 0 / 0.5085 GB, free: 9.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01835/0.6209, allocations: 7.974 MB / 0.5163 GB, free: 1.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.621, allocations: 64.72 kB / 0.5164 GB, free: 1.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004811/0.6258, allocations: 2.606 MB / 0.5189 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002852/0.6261, allocations: 49.7 kB / 0.519 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.6278, allocations: 2.062 MB / 0.521 GB, free: 12.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009633/0.6288, allocations: 0.6515 MB / 0.5216 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.6292, allocations: 80 kB / 0.5217 GB, free: 11.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004496/0.6297, allocations: 483 kB / 0.5222 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/0.6324, allocations: 1.363 MB / 0.5235 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004417/0.6368, allocations: 3.528 MB / 0.5269 GB, free: 5.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/0.6406, allocations: 2.196 MB / 0.5291 GB, free: 2.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.35e-05/0.6407, allocations: 20 kB / 0.5291 GB, free: 2.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009748/0.6505, allocations: 5.103 MB / 0.5341 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.973e-05/0.6506, allocations: 36 kB / 0.5341 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/0.6507, allocations: 76 kB / 0.5342 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008254/0.6516, allocations: 330.3 kB / 0.5345 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.6546, allocations: 0.9007 MB / 0.5354 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/0.6586, allocations: 3.031 MB / 0.5383 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.6615, allocations: 195.9 kB / 0.5385 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005892/0.6621, allocations: 236 kB / 0.5387 GB, free: 8.91 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003425/0.6655, allocations: 1.579 MB / 0.5403 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005515/0.6661, allocations: 233 kB / 0.5405 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/0.6709, allocations: 2.359 MB / 0.5428 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/0.671, allocations: 35.88 kB / 0.5429 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.671, allocations: 4 kB / 0.5429 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.671, allocations: 7.969 kB / 0.5429 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.6842, allocations: 6.293 MB / 0.549 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.6842, allocations: 4 kB / 0.549 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.6853, allocations: 255.6 kB / 0.5493 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005866/0.686, allocations: 205.5 kB / 0.5495 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.6861, allocations: 32.27 kB / 0.5495 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.6893, allocations: 2.606 MB / 0.552 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6893, allocations: 4 kB / 0.552 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006146/0.6954, allocations: 3.599 MB / 0.5555 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/0.6969, allocations: 318.2 kB / 0.5558 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008783/0.6978, allocations: 28 kB / 0.5559 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.6993, allocations: 75.92 kB / 0.5559 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.6996, allocations: 97.16 kB / 0.556 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.6997, allocations: 51.98 kB / 0.5561 GB, free: 6.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004074/0.7038, allocations: 1.668 MB / 0.5577 GB, free: 5.074 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.215e-06/0.7038, allocations: 0 / 0.5577 GB, free: 5.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004716/0.7085, allocations: 0.7226 MB / 0.5584 GB, free: 4.352 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006577/0.7092, allocations: 171.6 kB / 0.5586 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006658/0.7159, allocations: 3.469 MB / 0.562 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.7159, allocations: 4 kB / 0.562 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.718, allocations: 1.251 MB / 0.5632 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.7206, allocations: 365.8 kB / 0.5636 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.7363, allocations: 8.182 MB / 0.5715 GB, free: 6.801 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004631/0.741, allocations: 2.598 MB / 0.5741 GB, free: 4.172 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003798/0.7448, allocations: 1.247 MB / 0.5753 GB, free: 2.918 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/0.7455, allocations: 175.4 kB / 0.5755 GB, free: 2.746 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.7456, allocations: 0 / 0.5755 GB, free: 2.746 MB / 446.1 MB Notification: Performance of Templates: time 0.2628/1.008, allocations: 25.44 MB / 0.6003 GB, free: 120.3 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile (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)