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.001038/0.001038, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005918/0.005918, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1658/0.1658, allocations: 9.113 MB / 300.5 MB, free: 2.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003894, allocations: 12 kB / 363.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 52.43 MB / 416.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.2103/0.3139, allocations: 22.97 MB / 439.1 MB, free: 29.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.3265, allocations: 5.494 MB / 444.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006263/0.3329, allocations: 83.03 kB / 444.7 MB, free: 27.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3343, allocations: 310 kB / 445 MB, free: 27.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.339, allocations: 1.318 MB / 446.3 MB, free: 27.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.3398, allocations: 150.7 kB / 446.5 MB, free: 26.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.3438, allocations: 3.517 MB / 450 MB, free: 25.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.3453, allocations: 0.786 MB / 450.8 MB, free: 25.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.3469, allocations: 0.7626 MB / 451.5 MB, free: 25.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.3489, allocations: 1.313 MB / 452.9 MB, free: 24.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000662/0.3495, allocations: 128.7 kB / 453 MB, free: 24.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.3516, allocations: 0.8298 MB / 453.8 MB, free: 24.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.3531, allocations: 1.144 MB / 455 MB, free: 24.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.3553, allocations: 1.497 MB / 456.5 MB, free: 23.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.3599, allocations: 4.584 MB / 461 MB, free: 21.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.36, allocations: 3.375 kB / 461 MB, free: 21.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.36, allocations: 0 / 461 MB, free: 21.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.282e-05/0.3601, allocations: 0 / 461 MB, free: 21.61 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.01481/0.3749, allocations: 4.399 MB / 465.4 MB, free: 19.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3749, allocations: 12 kB / 465.4 MB, free: 19.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007196/0.3821, allocations: 1.812 MB / 467.3 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.3851, allocations: 1.422 MB / 468.7 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.3852, allocations: 148.5 kB / 468.8 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006438/0.3859, allocations: 196 kB / 469 MB, free: 18.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/0.404, allocations: 8.476 MB / 477.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.4042, allocations: 22.5 kB / 477.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/0.4045, allocations: 93.3 kB / 477.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004062/0.4086, allocations: 1.886 MB / 479.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/0.4296, allocations: 8.155 MB / 487.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03934/0.469, allocations: 26 MB / 0.5016 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.4795, allocations: 2.866 MB / 0.5044 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.4815, allocations: 1.087 MB / 0.5055 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007268/0.4888, allocations: 5.049 MB / 0.5104 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.4888, allocations: 47.88 kB / 0.5104 GB, free: 7.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 4.598e-06/0.4889, allocations: 0 / 0.5104 GB, free: 7.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01753/0.5064, allocations: 7.994 MB / 0.5183 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.5065, allocations: 68.66 kB / 0.5183 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/0.5103, allocations: 2.618 MB / 0.5209 GB, free: 12.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.5105, allocations: 49.7 kB / 0.5209 GB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.5119, allocations: 2.066 MB / 0.5229 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007742/0.5127, allocations: 0.6437 MB / 0.5236 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004556/0.5132, allocations: 334.7 kB / 0.5239 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5133, allocations: 309.1 kB / 0.5242 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.5158, allocations: 1.382 MB / 0.5255 GB, free: 7.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/0.5196, allocations: 3.536 MB / 0.529 GB, free: 3.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006562/0.5262, allocations: 5.322 MB / 0.5342 GB, free: 12.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.545e-05/0.5263, allocations: 20 kB / 0.5342 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01021/0.5365, allocations: 5.13 MB / 0.5392 GB, free: 7.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/0.5366, allocations: 42.5 kB / 0.5393 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.183e-05/0.5367, allocations: 72 kB / 0.5393 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/0.5375, allocations: 314.3 kB / 0.5396 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/0.5407, allocations: 0.9048 MB / 0.5405 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.5447, allocations: 3.025 MB / 0.5435 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/0.5478, allocations: 200 kB / 0.5437 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006337/0.5485, allocations: 240.2 kB / 0.5439 GB, free: 2.836 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.003034/0.5515, allocations: 1.577 MB / 0.5454 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.5519, allocations: 229 kB / 0.5456 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.5562, allocations: 2.378 MB / 0.548 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001143/0.5563, allocations: 27.98 kB / 0.548 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.5564, allocations: 8 kB / 0.548 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.5564, allocations: 7.969 kB / 0.548 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.5677, allocations: 6.289 MB / 0.5541 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.5678, allocations: 4 kB / 0.5541 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.5689, allocations: 256 kB / 0.5544 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006138/0.5696, allocations: 210.8 kB / 0.5546 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.5697, allocations: 31.98 kB / 0.5546 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/0.5729, allocations: 2.619 MB / 0.5572 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5729, allocations: 4 kB / 0.5572 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.5785, allocations: 3.615 MB / 0.5607 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008683/0.5794, allocations: 322 kB / 0.561 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.5796, allocations: 31.94 kB / 0.5611 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/0.5805, allocations: 71.91 kB / 0.5611 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.5807, allocations: 105.1 kB / 0.5612 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.5808, allocations: 47.98 kB / 0.5613 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002864/0.5837, allocations: 1.692 MB / 0.5629 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5837, allocations: 0 / 0.5629 GB, free: 14.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003705/0.5875, allocations: 0.7031 MB / 0.5636 GB, free: 14.23 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.0004704/0.5879, allocations: 186.8 kB / 0.5638 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006374/0.5943, allocations: 3.484 MB / 0.5672 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.5944, allocations: 0 / 0.5672 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.5965, allocations: 1.252 MB / 0.5684 GB, free: 9.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/0.5999, allocations: 368.9 kB / 0.5688 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.6156, allocations: 8.53 MB / 0.5771 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2139/0.8296, allocations: 2.591 MB / 0.5796 GB, free: 106.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003258/0.8329, allocations: 1.242 MB / 0.5808 GB, free: 106.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.8334, allocations: 183.7 kB / 0.581 GB, free: 106.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8334, allocations: 1.219 kB / 0.581 GB, free: 106.1 MB / 446.1 MB Notification: Performance of Templates: time 0.04959/0.883, allocations: 26 MB / 0.6064 GB, free: 101.7 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)