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/package.mo", uses=false) 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.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.00132/0.00132, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001247/0.001247, allocations: 187 kB / 17.34 MB, free: 5.723 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04303/0.04303, allocations: 9.124 MB / 300.3 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 55.91 kB / 415.3 MB, free: 21.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08911, allocations: 51.44 MB / 466.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.009427/0.09857, allocations: 8.785 MB / 475.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.104, allocations: 2.741 MB / 478.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.1053, allocations: 35.94 kB / 478.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1064, allocations: 369.5 kB / 478.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.1098, allocations: 1.416 MB / 480.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.1105, allocations: 171.7 kB / 480.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.1138, allocations: 2.552 MB / 482.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.1152, allocations: 0.8817 MB / 483.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.1167, allocations: 0.9066 MB / 484.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.1187, allocations: 1.327 MB / 485.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007036/0.1194, allocations: 232 kB / 486.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.1213, allocations: 0.8855 MB / 487 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.1227, allocations: 1.227 MB / 488.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.1251, allocations: 1.573 MB / 489.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006315/0.1315, allocations: 5.064 MB / 494.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.1315, allocations: 4 kB / 494.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1315, allocations: 0 / 494.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002182/0.1318, allocations: 3.938 kB / 494.9 MB, free: 5.348 MB / 366.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.01821/0.15, allocations: 5.047 MB / 499.9 MB, free: 240 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.15, allocations: 12.03 kB / 500 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007079/0.1571, allocations: 1.763 MB / 0.49 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.16, allocations: 1.437 MB / 0.4914 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.1602, allocations: 148 kB / 0.4915 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008425/0.1611, allocations: 199.9 kB / 0.4917 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.1769, allocations: 8.472 MB / 0.5 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/0.1771, allocations: 19.78 kB / 0.5 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000744/0.1778, allocations: 91.86 kB / 0.5001 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003259/0.1811, allocations: 1.891 MB / 0.5019 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2329/0.4141, allocations: 8.135 MB / 0.5099 GB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03909/0.4532, allocations: 25.9 MB / 0.5352 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009741/0.463, allocations: 2.859 MB / 0.538 GB, free: 19.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.4647, allocations: 1.078 MB / 0.539 GB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006406/0.4711, allocations: 5.036 MB / 0.5439 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4712, allocations: 51.81 kB / 0.544 GB, free: 13.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.997e-06/0.4712, allocations: 4 kB / 0.544 GB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01575/0.4869, allocations: 7.994 MB / 0.5518 GB, free: 5.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.487, allocations: 70.22 kB / 0.5519 GB, free: 5.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/0.4908, allocations: 2.61 MB / 0.5544 GB, free: 2.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.4909, allocations: 53.7 kB / 0.5545 GB, free: 2.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.492, allocations: 2.061 MB / 0.5565 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005203/0.4925, allocations: 0.641 MB / 0.5571 GB, free: 236 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/0.4938, allocations: 0.8128 MB / 0.5579 GB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.494, allocations: 301.1 kB / 0.5582 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002409/0.4964, allocations: 1.378 MB / 0.5595 GB, free: 13.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00385/0.5002, allocations: 3.548 MB / 0.563 GB, free: 9.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006452/0.5067, allocations: 5.312 MB / 0.5682 GB, free: 2.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-05/0.5068, allocations: 24 kB / 0.5682 GB, free: 2.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01107/0.5179, allocations: 5.141 MB / 0.5732 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.5181, allocations: 36 kB / 0.5733 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001649/0.5182, allocations: 77.41 kB / 0.5733 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.5194, allocations: 317.5 kB / 0.5736 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004241/0.5236, allocations: 0.9046 MB / 0.5745 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/0.5294, allocations: 3.289 MB / 0.5777 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/0.5343, allocations: 187.9 kB / 0.5779 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/0.5355, allocations: 240 kB / 0.5781 GB, free: 8.418 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.004457/0.5399, allocations: 1.581 MB / 0.5797 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/0.5407, allocations: 232.9 kB / 0.5799 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006458/0.5472, allocations: 2.364 MB / 0.5822 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001518/0.5474, allocations: 31.98 kB / 0.5822 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/0.5475, allocations: 4 kB / 0.5822 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.5475, allocations: 7.969 kB / 0.5822 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.5636, allocations: 6.256 MB / 0.5884 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.5636, allocations: 1.125 kB / 0.5884 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.5652, allocations: 259.6 kB / 0.5886 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008096/0.5661, allocations: 207.5 kB / 0.5888 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.5663, allocations: 35.98 kB / 0.5888 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004416/0.5707, allocations: 2.874 MB / 0.5916 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5707, allocations: 4 kB / 0.5916 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/0.579, allocations: 3.62 MB / 0.5952 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.5801, allocations: 302.2 kB / 0.5955 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000738/0.5809, allocations: 32 kB / 0.5955 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/0.5826, allocations: 71.92 kB / 0.5956 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.5829, allocations: 97.08 kB / 0.5957 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/0.5831, allocations: 55.92 kB / 0.5957 GB, free: 6.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004323/0.5875, allocations: 1.688 MB / 0.5974 GB, free: 4.379 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5875, allocations: 4 kB / 0.5974 GB, free: 4.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004365/0.5919, allocations: 0.7046 MB / 0.5981 GB, free: 3.676 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 (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.0006873/0.5926, allocations: 196 kB / 0.5982 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006535/0.5992, allocations: 3.498 MB / 0.6017 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.5992, allocations: 0 / 0.6017 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.6012, allocations: 1.253 MB / 0.6029 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.6039, allocations: 381 kB / 0.6032 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.6184, allocations: 7.155 MB / 0.6102 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003783/0.6223, allocations: 2.606 MB / 0.6128 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009148/0.6232, allocations: 223.4 kB / 0.613 GB, free: 4.254 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6232, allocations: 0 / 0.613 GB, free: 4.254 MB / 446.1 MB Notification: Performance of Templates: time 0.09144/0.7147, allocations: 73.74 MB / 0.685 GB, free: 10.59 MB / 0.5137 GB 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)