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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001507/0.001507, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1585/0.1585, allocations: 9.112 MB / 299.1 MB, free: 1.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 67.89 kB / 361.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1272, allocations: 51.43 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.2186/0.3458, allocations: 23.74 MB / 436.4 MB, free: 30.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.3578, allocations: 5.545 MB / 442 MB, free: 27.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005886/0.3637, allocations: 83.97 kB / 442.1 MB, free: 27.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.3652, allocations: 308.4 kB / 442.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.3686, allocations: 1.318 MB / 443.7 MB, free: 27.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.3693, allocations: 147.5 kB / 443.8 MB, free: 27.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.3726, allocations: 3.504 MB / 447.3 MB, free: 25.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.3739, allocations: 0.8102 MB / 448.2 MB, free: 25.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.3754, allocations: 0.7683 MB / 448.9 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.3772, allocations: 1.339 MB / 450.3 MB, free: 24.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000637/0.3779, allocations: 133.2 kB / 450.4 MB, free: 24.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.3796, allocations: 0.8306 MB / 451.2 MB, free: 24.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.3809, allocations: 1.131 MB / 452.4 MB, free: 24.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.3824, allocations: 1.488 MB / 453.8 MB, free: 23.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.386, allocations: 4.7 MB / 458.5 MB, free: 21.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.386, allocations: 0 / 458.5 MB, free: 21.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.386, allocations: 0 / 458.5 MB, free: 21.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001076/0.3861, allocations: 0 / 458.5 MB, free: 21.39 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.01536/0.4015, allocations: 5.04 MB / 463.6 MB, free: 19.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4015, allocations: 12 kB / 463.6 MB, free: 19.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006171/0.4077, allocations: 1.766 MB / 465.4 MB, free: 19.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.4107, allocations: 1.425 MB / 466.8 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.4108, allocations: 149.7 kB / 466.9 MB, free: 18.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006282/0.4115, allocations: 194.4 kB / 467.1 MB, free: 18.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.4266, allocations: 8.473 MB / 475.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.398e-05/0.4267, allocations: 26.41 kB / 475.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003204/0.427, allocations: 93.17 kB / 475.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003365/0.4304, allocations: 1.882 MB / 477.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.4482, allocations: 8.149 MB / 485.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/0.4839, allocations: 25.98 MB / 0.4997 GB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.4952, allocations: 2.852 MB / 0.5025 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.4973, allocations: 1.083 MB / 0.5036 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007579/0.5049, allocations: 5.045 MB / 0.5085 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.505, allocations: 47.88 kB / 0.5085 GB, free: 7.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 4.178e-06/0.505, allocations: 0 / 0.5085 GB, free: 7.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01699/0.522, allocations: 7.994 MB / 0.5163 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.5221, allocations: 68.72 kB / 0.5164 GB, free: 15.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/0.5263, allocations: 2.61 MB / 0.519 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.5265, allocations: 57.64 kB / 0.519 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.5284, allocations: 2.062 MB / 0.521 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008653/0.5292, allocations: 0.6437 MB / 0.5217 GB, free: 9.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/0.5307, allocations: 0.8098 MB / 0.5225 GB, free: 8.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5309, allocations: 309.1 kB / 0.5227 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/0.5341, allocations: 1.378 MB / 0.5241 GB, free: 7.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005245/0.5394, allocations: 3.54 MB / 0.5275 GB, free: 2.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008138/0.5475, allocations: 5.318 MB / 0.5327 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.07e-05/0.5477, allocations: 20 kB / 0.5328 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01499/0.5627, allocations: 5.124 MB / 0.5378 GB, free: 7.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.774e-05/0.5628, allocations: 36 kB / 0.5378 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.563, allocations: 80.16 kB / 0.5379 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.5641, allocations: 318.2 kB / 0.5382 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/0.5686, allocations: 0.9007 MB / 0.5391 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005281/0.5739, allocations: 3.034 MB / 0.542 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.5775, allocations: 191.9 kB / 0.5422 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000452/0.5779, allocations: 243.9 kB / 0.5424 GB, free: 2.203 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.002525/0.5805, allocations: 1.576 MB / 0.544 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/0.5809, allocations: 232.9 kB / 0.5442 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/0.585, allocations: 2.366 MB / 0.5465 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/0.5852, allocations: 31.98 kB / 0.5465 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.5852, allocations: 8.047 kB / 0.5465 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.5852, allocations: 7.969 kB / 0.5466 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.596, allocations: 6.301 MB / 0.5527 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.596, allocations: 4 kB / 0.5527 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.5971, allocations: 255.7 kB / 0.553 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006314/0.5977, allocations: 209.8 kB / 0.5532 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.904e-05/0.5979, allocations: 32 kB / 0.5532 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003099/0.601, allocations: 2.593 MB / 0.5557 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.601, allocations: 4.156 kB / 0.5557 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005704/0.6067, allocations: 3.619 MB / 0.5593 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007047/0.6074, allocations: 310.2 kB / 0.5596 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.6077, allocations: 31.94 kB / 0.5596 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/0.6086, allocations: 71.91 kB / 0.5597 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.6089, allocations: 97.11 kB / 0.5597 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.609, allocations: 55.98 kB / 0.5598 GB, free: 32 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002668/0.6117, allocations: 1.692 MB / 0.5615 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6117, allocations: 0 / 0.5615 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003213/0.6149, allocations: 0.6992 MB / 0.5621 GB, free: 13.62 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.0004081/0.6153, allocations: 195 kB / 0.5623 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005727/0.6211, allocations: 3.475 MB / 0.5657 GB, free: 9.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.6211, allocations: 4.188 kB / 0.5657 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.623, allocations: 1.254 MB / 0.5669 GB, free: 8.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.6253, allocations: 372.2 kB / 0.5673 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2133/0.8386, allocations: 8.393 MB / 0.5755 GB, free: 124.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/0.8422, allocations: 2.603 MB / 0.578 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002914/0.8452, allocations: 1.239 MB / 0.5792 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/0.8456, allocations: 187.4 kB / 0.5794 GB, free: 123.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.314e-06/0.8457, allocations: 0 / 0.5794 GB, free: 123.7 MB / 446.1 MB Notification: Performance of Templates: time 0.04777/0.8934, allocations: 26.31 MB / 0.6051 GB, free: 120.3 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)