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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 177.4 kB / 15.78 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.372/2.372, allocations: 223.2 MB / 239.8 MB, free: 15.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 110.4 kB / 290.9 MB, free: 4.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.06936/0.06936, allocations: 8.941 MB / 351 MB, free: 4.156 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 8 kB / 413.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3673, allocations: 52.38 MB / 466.2 MB, free: 69.23 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01822/0.3856, allocations: 21.46 MB / 487.7 MB, free: 47.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3983, allocations: 5.28 MB / 493 MB, free: 42.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007021/0.4054, allocations: 87.81 kB / 493.1 MB, free: 42.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005263/0.4107, allocations: 1.007 MB / 494.1 MB, free: 41.31 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.4228, allocations: 3.658 MB / 497.7 MB, free: 37.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.4248, allocations: 151.8 kB / 497.9 MB, free: 37.49 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00413/0.4289, allocations: 2.808 MB / 0.489 GB, free: 34.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.431, allocations: 0.7912 MB / 0.4897 GB, free: 33.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.4329, allocations: 0.7937 MB / 0.4905 GB, free: 33.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.4348, allocations: 1.308 MB / 0.4918 GB, free: 31.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005012/0.4353, allocations: 132 kB / 0.4919 GB, free: 31.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.437, allocations: 0.7177 MB / 0.4926 GB, free: 30.9 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.4383, allocations: 1.102 MB / 0.4937 GB, free: 29.8 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.4394, allocations: 0.6404 MB / 0.4943 GB, free: 29.15 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.4447, allocations: 3.73 MB / 0.498 GB, free: 25.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.4447, allocations: 0 / 0.498 GB, free: 25.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4447, allocations: 0 / 0.498 GB, free: 25.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001622/0.4449, allocations: 0 / 0.498 GB, free: 25.41 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01888/0.4638, allocations: 4.435 MB / 0.5023 GB, free: 20.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.4639, allocations: 8.031 kB / 0.5023 GB, free: 20.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/0.4707, allocations: 1.809 MB / 0.5041 GB, free: 19.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.4736, allocations: 1.424 MB / 0.5054 GB, free: 17.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.4737, allocations: 155.7 kB / 0.5056 GB, free: 17.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005296/0.4743, allocations: 191.8 kB / 0.5058 GB, free: 17.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.4877, allocations: 8.477 MB / 0.5141 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.085e-05/0.4879, allocations: 19.78 kB / 0.5141 GB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.4882, allocations: 99.86 kB / 0.5142 GB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003469/0.4917, allocations: 1.879 MB / 0.516 GB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/0.5088, allocations: 8.125 MB / 0.5239 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06272/0.5716, allocations: 26.07 MB / 0.5494 GB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02011/0.5918, allocations: 2.948 MB / 0.5523 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.432/1.024, allocations: 1.066 MB / 0.5533 GB, free: 86.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/1.039, allocations: 5.047 MB / 0.5582 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.115e-05/1.039, allocations: 45.41 kB / 0.5583 GB, free: 83.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 1.054e-05/1.039, allocations: 0 / 0.5583 GB, free: 83.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.02972/1.069, allocations: 7.896 MB / 0.566 GB, free: 80.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/1.069, allocations: 68.16 kB / 0.5661 GB, free: 80.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008249/1.077, allocations: 2.607 MB / 0.5686 GB, free: 79.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005955/1.078, allocations: 49.08 kB / 0.5687 GB, free: 79.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002808/1.081, allocations: 2.067 MB / 0.5707 GB, free: 77.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.082, allocations: 0.6424 MB / 0.5713 GB, free: 77.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.083, allocations: 84.02 kB / 0.5714 GB, free: 77.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003864/1.083, allocations: 486.1 kB / 0.5718 GB, free: 76.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/1.086, allocations: 1.365 MB / 0.5732 GB, free: 76.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004561/1.091, allocations: 3.531 MB / 0.5766 GB, free: 72.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004772/1.096, allocations: 2.208 MB / 0.5788 GB, free: 70.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.025e-05/1.096, allocations: 20 kB / 0.5788 GB, free: 70.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.0124/1.108, allocations: 5.118 MB / 0.5838 GB, free: 65.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/1.109, allocations: 43.19 kB / 0.5838 GB, free: 65.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/1.109, allocations: 72 kB / 0.5839 GB, free: 65.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009768/1.11, allocations: 330.7 kB / 0.5842 GB, free: 65.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/1.114, allocations: 0.9007 MB / 0.5851 GB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004452/1.118, allocations: 3.033 MB / 0.5881 GB, free: 61.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/1.124, allocations: 192.9 kB / 0.5883 GB, free: 61.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008977/1.125, allocations: 238.5 kB / 0.5885 GB, free: 60.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 343 * 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 (494): * Single equations (assignments): 488 * 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.003992/1.129, allocations: 1.58 MB / 0.59 GB, free: 59.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006776/1.129, allocations: 233 kB / 0.5902 GB, free: 59.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/1.134, allocations: 2.359 MB / 0.5925 GB, free: 56.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001349/1.134, allocations: 31.98 kB / 0.5926 GB, free: 56.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.134, allocations: 4 kB / 0.5926 GB, free: 56.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/1.134, allocations: 7.969 kB / 0.5926 GB, free: 56.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/1.149, allocations: 6.238 MB / 0.5987 GB, free: 50.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.149, allocations: 4 kB / 0.5987 GB, free: 50.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.15, allocations: 259.6 kB / 0.5989 GB, free: 50.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/1.151, allocations: 205 kB / 0.5991 GB, free: 49.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.151, allocations: 39.98 kB / 0.5992 GB, free: 49.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/1.155, allocations: 2.606 MB / 0.6017 GB, free: 47.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.155, allocations: 0 / 0.6017 GB, free: 47.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00693/1.162, allocations: 3.605 MB / 0.6052 GB, free: 43.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.163, allocations: 314.1 kB / 0.6055 GB, free: 43.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/1.163, allocations: 39.98 kB / 0.6056 GB, free: 43.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.165, allocations: 68.86 kB / 0.6056 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/1.165, allocations: 97.14 kB / 0.6057 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.165, allocations: 49.11 kB / 0.6058 GB, free: 42.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003615/1.169, allocations: 1.68 MB / 0.6074 GB, free: 41.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.169, allocations: 4 kB / 0.6074 GB, free: 41.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006248/1.175, allocations: 0.7099 MB / 0.6081 GB, free: 40.46 MB / 378.7 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.0008305/1.176, allocations: 179.5 kB / 0.6083 GB, free: 40.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007888/1.184, allocations: 3.469 MB / 0.6117 GB, free: 36.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.184, allocations: 0.625 kB / 0.6117 GB, free: 36.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/1.186, allocations: 1.245 MB / 0.6129 GB, free: 35.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/1.189, allocations: 376.4 kB / 0.6132 GB, free: 35.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.207, allocations: 8.57 MB / 0.6216 GB, free: 26.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003656/1.211, allocations: 2.602 MB / 0.6242 GB, free: 23.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.212, allocations: 227.4 kB / 0.6244 GB, free: 23.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.435e-06/1.212, allocations: 0 / 0.6244 GB, free: 23.68 MB / 378.7 MB Notification: Performance of Templates: time 0.1395/1.351, allocations: 72.84 MB / 0.6955 GB, free: 14.9 MB / 442.7 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)