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.007915/0.007915, allocations: 97.25 kB / 15.73 MB, free: 6.039 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.001547/0.001547, allocations: 204.6 kB / 16.68 MB, free: 5.961 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1888/0.1888, allocations: 9.113 MB / 299.6 MB, free: 1.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 68.03 kB / 414.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 51.42 MB / 466.1 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.009254/0.3454, allocations: 8.794 MB / 474.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007283/0.3527, allocations: 2.73 MB / 477.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.3546, allocations: 33.53 kB / 477.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.3558, allocations: 363.2 kB / 478 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.3601, allocations: 1.411 MB / 479.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.3609, allocations: 186.1 kB / 479.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.3651, allocations: 2.545 MB / 482.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.3664, allocations: 0.8752 MB / 483 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.3682, allocations: 0.9036 MB / 483.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.3702, allocations: 1.329 MB / 485.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007775/0.371, allocations: 235.6 kB / 485.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.3737, allocations: 0.8847 MB / 486.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.375, allocations: 1.22 MB / 487.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.3765, allocations: 1.582 MB / 489.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007124/0.3836, allocations: 5.092 MB / 494.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3837, allocations: 0 / 494.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3837, allocations: 0 / 494.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001937/0.3839, allocations: 0 / 494.3 MB, free: 15.53 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.02168/0.4056, allocations: 5.138 MB / 499.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.133e-05/0.4057, allocations: 8.031 kB / 499.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007468/0.4132, allocations: 1.793 MB / 0.4894 GB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.4178, allocations: 1.433 MB / 0.4908 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.418, allocations: 144 kB / 0.491 GB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007399/0.4187, allocations: 207.9 kB / 0.4912 GB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/0.4395, allocations: 8.464 MB / 0.4994 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/0.4397, allocations: 27.77 kB / 0.4995 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/0.4411, allocations: 95.86 kB / 0.4996 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003763/0.4448, allocations: 1.879 MB / 0.5014 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/0.4664, allocations: 8.148 MB / 0.5094 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/0.5206, allocations: 25.96 MB / 0.5347 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.5313, allocations: 2.854 MB / 0.5375 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.5334, allocations: 1.08 MB / 0.5385 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008854/0.5422, allocations: 5.039 MB / 0.5435 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.5424, allocations: 59.8 kB / 0.5435 GB, free: 15.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.859e-06/0.5424, allocations: 0 / 0.5435 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=175): time 0.01977/0.5621, allocations: 8.051 MB / 0.5514 GB, free: 7.738 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.5623, allocations: 64.72 kB / 0.5514 GB, free: 7.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006882/0.5691, allocations: 2.615 MB / 0.554 GB, free: 5.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.5694, allocations: 49.7 kB / 0.554 GB, free: 4.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.5714, allocations: 2.153 MB / 0.5562 GB, free: 2.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.5725, allocations: 0.6743 MB / 0.5568 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002172/0.5746, allocations: 0.8065 MB / 0.5576 GB, free: 1.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5748, allocations: 313.1 kB / 0.5579 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.5779, allocations: 1.374 MB / 0.5592 GB, free: 15.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004541/0.5824, allocations: 3.544 MB / 0.5627 GB, free: 11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007215/0.5897, allocations: 5.332 MB / 0.5679 GB, free: 4.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.963e-05/0.5898, allocations: 20 kB / 0.5679 GB, free: 4.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0102/0.6, allocations: 5.144 MB / 0.5729 GB, free: 15.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/0.6001, allocations: 40.22 kB / 0.573 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/0.6003, allocations: 76 kB / 0.5731 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008508/0.6011, allocations: 311.3 kB / 0.5734 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.604, allocations: 0.9046 MB / 0.5742 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.6083, allocations: 3.287 MB / 0.5775 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.6117, allocations: 196 kB / 0.5776 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007504/0.6124, allocations: 244 kB / 0.5779 GB, free: 10.25 MB / 462.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.003648/0.6161, allocations: 1.581 MB / 0.5794 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/0.6168, allocations: 242.4 kB / 0.5796 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/0.6215, allocations: 2.366 MB / 0.582 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/0.6216, allocations: 27.98 kB / 0.582 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.6216, allocations: 4 kB / 0.582 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.6217, allocations: 7.969 kB / 0.582 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2579/0.8795, allocations: 6.262 MB / 0.5881 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.8796, allocations: 4.094 kB / 0.5881 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.8809, allocations: 252.5 kB / 0.5884 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006538/0.8816, allocations: 210.9 kB / 0.5886 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.8818, allocations: 36.94 kB / 0.5886 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/0.8855, allocations: 2.867 MB / 0.5914 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.8855, allocations: 3.875 kB / 0.5914 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006498/0.892, allocations: 3.625 MB / 0.5949 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008654/0.8929, allocations: 316.5 kB / 0.5952 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.8933, allocations: 26.09 kB / 0.5953 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/0.8942, allocations: 70.59 kB / 0.5953 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.8945, allocations: 106.6 kB / 0.5954 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.8946, allocations: 56.3 kB / 0.5955 GB, free: 107.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00351/0.8981, allocations: 1.688 MB / 0.5971 GB, free: 107.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8981, allocations: 1.156 kB / 0.5971 GB, free: 107.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005011/0.9032, allocations: 0.7056 MB / 0.5978 GB, free: 107.1 MB / 462.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.0004789/0.9037, allocations: 189.7 kB / 0.598 GB, free: 107 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006318/0.91, allocations: 3.501 MB / 0.6014 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.91, allocations: 2.844 kB / 0.6014 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.9118, allocations: 1.252 MB / 0.6026 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.9143, allocations: 394.8 kB / 0.603 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.9281, allocations: 6.896 MB / 0.6098 GB, free: 101.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002873/0.931, allocations: 2.605 MB / 0.6123 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00312/0.9342, allocations: 1.228 MB / 0.6135 GB, free: 100.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.9347, allocations: 182.8 kB / 0.6137 GB, free: 100.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.9347, allocations: 0 / 0.6137 GB, free: 100.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04449/0.9792, allocations: 26.87 MB / 0.6399 GB, free: 80.6 MB / 462.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)