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.001133/0.001133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001245/0.001245, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1535/0.1535, allocations: 9.119 MB / 299.2 MB, free: 1.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.91 kB / 361.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 51.43 MB / 412.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.2231/0.342, allocations: 23.74 MB / 436.6 MB, free: 30.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009742/0.3518, allocations: 5.508 MB / 442.1 MB, free: 27.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.3554, allocations: 83.34 kB / 442.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007736/0.3562, allocations: 307.1 kB / 442.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.3589, allocations: 1.308 MB / 443.8 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.3594, allocations: 160 kB / 444 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.3615, allocations: 2.559 MB / 446.5 MB, free: 26.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.3626, allocations: 0.9057 MB / 447.4 MB, free: 25.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3636, allocations: 0.8987 MB / 448.3 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.3649, allocations: 1.441 MB / 449.8 MB, free: 24.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.3652, allocations: 233.1 kB / 450 MB, free: 24.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.3664, allocations: 0.8992 MB / 450.9 MB, free: 24.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007497/0.3671, allocations: 1.226 MB / 452.1 MB, free: 24.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009539/0.3681, allocations: 1.585 MB / 453.7 MB, free: 22.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.3717, allocations: 4.865 MB / 458.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3717, allocations: 0 / 458.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3717, allocations: 0 / 458.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.225e-05/0.3718, allocations: 0 / 458.6 MB, free: 20.94 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.01742/0.3892, allocations: 5.044 MB / 463.6 MB, free: 18.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3893, allocations: 8.781 kB / 463.6 MB, free: 18.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006499/0.3958, allocations: 1.773 MB / 465.4 MB, free: 18.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.3988, allocations: 1.423 MB / 466.8 MB, free: 17.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.399, allocations: 149.5 kB / 467 MB, free: 17.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000724/0.3998, allocations: 200.2 kB / 467.2 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/0.4167, allocations: 8.475 MB / 475.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.56e-05/0.4168, allocations: 22.28 kB / 475.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/0.4172, allocations: 94.2 kB / 475.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003393/0.4206, allocations: 1.878 MB / 477.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.4386, allocations: 8.149 MB / 485.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03853/0.4772, allocations: 25.99 MB / 0.4998 GB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.4877, allocations: 2.848 MB / 0.5026 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.4896, allocations: 1.087 MB / 0.5036 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006771/0.4964, allocations: 5.041 MB / 0.5086 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4964, allocations: 47.88 kB / 0.5086 GB, free: 7.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.597e-06/0.4964, allocations: 4 kB / 0.5086 GB, free: 7.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01764/0.5141, allocations: 7.982 MB / 0.5164 GB, free: 15.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.5142, allocations: 68.72 kB / 0.5165 GB, free: 15.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.518, allocations: 2.618 MB / 0.519 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.5181, allocations: 49.7 kB / 0.5191 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.5196, allocations: 2.066 MB / 0.5211 GB, free: 10.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006411/0.5203, allocations: 0.6515 MB / 0.5217 GB, free: 9.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.5214, allocations: 0.7981 MB / 0.5225 GB, free: 8.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5215, allocations: 309 kB / 0.5228 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.5238, allocations: 1.382 MB / 0.5241 GB, free: 7.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/0.5277, allocations: 3.544 MB / 0.5276 GB, free: 2.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006766/0.5344, allocations: 5.319 MB / 0.5328 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-05/0.5345, allocations: 24 kB / 0.5328 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01016/0.5447, allocations: 5.127 MB / 0.5378 GB, free: 7.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.411e-05/0.5448, allocations: 36 kB / 0.5379 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.545, allocations: 79.94 kB / 0.5379 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000883/0.5458, allocations: 323.1 kB / 0.5382 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/0.5494, allocations: 0.9007 MB / 0.5391 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/0.5537, allocations: 3.288 MB / 0.5423 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.557, allocations: 195.9 kB / 0.5425 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007399/0.5577, allocations: 240 kB / 0.5428 GB, free: 1.867 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.003303/0.561, allocations: 1.57 MB / 0.5443 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005771/0.5616, allocations: 237 kB / 0.5445 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004624/0.5663, allocations: 2.381 MB / 0.5468 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001165/0.5664, allocations: 27.98 kB / 0.5469 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.5664, allocations: 4.062 kB / 0.5469 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.5665, allocations: 11.97 kB / 0.5469 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.5779, allocations: 6.293 MB / 0.553 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.578, allocations: 0 / 0.553 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.5791, allocations: 255.7 kB / 0.5533 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006298/0.5798, allocations: 219.9 kB / 0.5535 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.5799, allocations: 35.94 kB / 0.5535 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.5831, allocations: 2.852 MB / 0.5563 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5832, allocations: 11.88 kB / 0.5563 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/0.5888, allocations: 3.615 MB / 0.5598 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008701/0.5897, allocations: 302.2 kB / 0.5601 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/0.5903, allocations: 28 kB / 0.5602 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.5916, allocations: 67.92 kB / 0.5602 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.5919, allocations: 109 kB / 0.5603 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.592, allocations: 47.98 kB / 0.5604 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002676/0.5947, allocations: 1.692 MB / 0.562 GB, free: 13.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5947, allocations: 0 / 0.562 GB, free: 13.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00354/0.5983, allocations: 0.707 MB / 0.5627 GB, free: 13.02 MB / 446.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.0004242/0.5987, allocations: 185.6 kB / 0.5629 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01012/0.6088, allocations: 5.294 MB / 0.5681 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6089, allocations: 0 / 0.5681 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.6107, allocations: 1.252 MB / 0.5693 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.6132, allocations: 391.5 kB / 0.5697 GB, free: 5.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.179/0.7922, allocations: 8.394 MB / 0.5779 GB, free: 124.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/0.7944, allocations: 2.599 MB / 0.5804 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002844/0.7973, allocations: 1.232 MB / 0.5816 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.7977, allocations: 180.7 kB / 0.5818 GB, free: 123.7 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.7977, allocations: 0 / 0.5818 GB, free: 123.7 MB / 446.1 MB Notification: Performance of Templates: time 0.04621/0.844, allocations: 27.26 MB / 0.6084 GB, free: 119.2 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)