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.001552/0.001552, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001873/0.001873, allocations: 191 kB / 17.29 MB, free: 5.516 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04404/0.04404, allocations: 9.118 MB / 300.3 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 363.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2197, allocations: 51.42 MB / 414.8 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.007271/0.227, allocations: 8.781 MB / 423.6 MB, free: 16.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.2316, allocations: 2.746 MB / 426.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.2324, allocations: 31.94 kB / 426.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.2332, allocations: 369.5 kB / 426.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.2355, allocations: 1.404 MB / 428.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.2359, allocations: 179.7 kB / 428.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.2377, allocations: 2.549 MB / 430.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006791/0.2384, allocations: 0.8816 MB / 431.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.239, allocations: 0.8988 MB / 432.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009843/0.24, allocations: 1.331 MB / 434 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.2403, allocations: 235.9 kB / 434.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.2414, allocations: 0.8933 MB / 435.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000723/0.2421, allocations: 1.219 MB / 436.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009441/0.2431, allocations: 1.569 MB / 437.9 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.2473, allocations: 5.06 MB / 442.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2473, allocations: 4 kB / 442.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2473, allocations: 0 / 442.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.249e-05/0.2474, allocations: 0 / 442.9 MB, free: 12.62 MB / 318.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.01569/0.263, allocations: 5.043 MB / 448 MB, free: 7.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2631, allocations: 12.02 kB / 448 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0061/0.2692, allocations: 1.771 MB / 449.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/0.2723, allocations: 1.421 MB / 451.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2724, allocations: 148 kB / 451.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004383/0.2729, allocations: 203.9 kB / 451.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.2872, allocations: 8.468 MB / 460 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-05/0.2874, allocations: 23.72 kB / 460 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.2876, allocations: 91.86 kB / 460.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/0.2906, allocations: 1.887 MB / 462 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.3068, allocations: 8.144 MB / 470.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03635/0.3432, allocations: 25.91 MB / 496.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009237/0.3525, allocations: 2.855 MB / 498.9 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.3542, allocations: 1.084 MB / 500 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00758/0.3618, allocations: 5.034 MB / 0.4932 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.3619, allocations: 51.81 kB / 0.4932 GB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 4.969e-06/0.3619, allocations: 0 / 0.4932 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01657/0.3785, allocations: 7.98 MB / 0.501 GB, free: 4.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3786, allocations: 72.72 kB / 0.5011 GB, free: 4.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/0.3822, allocations: 2.618 MB / 0.5037 GB, free: 1.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.3823, allocations: 49.7 kB / 0.5037 GB, free: 1.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1958/0.5781, allocations: 2.059 MB / 0.5057 GB, free: 89.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.5793, allocations: 0.6433 MB / 0.5063 GB, free: 88.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/0.5811, allocations: 0.8068 MB / 0.5071 GB, free: 88.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.5812, allocations: 305.8 kB / 0.5074 GB, free: 88.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/0.5838, allocations: 1.382 MB / 0.5088 GB, free: 88.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.5869, allocations: 3.55 MB / 0.5122 GB, free: 84.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005355/0.5922, allocations: 5.311 MB / 0.5174 GB, free: 80.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.072e-05/0.5923, allocations: 20.69 kB / 0.5175 GB, free: 80.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.006537/0.5988, allocations: 5.134 MB / 0.5225 GB, free: 78.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.5989, allocations: 34.97 kB / 0.5225 GB, free: 78.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-05/0.599, allocations: 79.66 kB / 0.5226 GB, free: 78.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.5996, allocations: 319.7 kB / 0.5229 GB, free: 78.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.6019, allocations: 0.909 MB / 0.5238 GB, free: 78.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.6048, allocations: 3.285 MB / 0.527 GB, free: 75.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/0.6071, allocations: 197.7 kB / 0.5272 GB, free: 75.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.6073, allocations: 247 kB / 0.5274 GB, free: 75.46 MB / 382.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.001647/0.609, allocations: 1.571 MB / 0.5289 GB, free: 74.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.6092, allocations: 230.1 kB / 0.5292 GB, free: 73.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/0.6123, allocations: 2.372 MB / 0.5315 GB, free: 71.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.608e-05/0.6124, allocations: 34.98 kB / 0.5315 GB, free: 71.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6124, allocations: 4 kB / 0.5315 GB, free: 71.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6125, allocations: 11.59 kB / 0.5315 GB, free: 71.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/0.6207, allocations: 6.248 MB / 0.5376 GB, free: 66.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6207, allocations: 4 kB / 0.5376 GB, free: 66.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/0.6216, allocations: 259.5 kB / 0.5379 GB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.6221, allocations: 212.5 kB / 0.5381 GB, free: 65.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-05/0.6222, allocations: 35.98 kB / 0.5381 GB, free: 65.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.6247, allocations: 2.873 MB / 0.5409 GB, free: 62.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6247, allocations: 7.938 kB / 0.5409 GB, free: 62.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/0.6288, allocations: 3.612 MB / 0.5444 GB, free: 58.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.6296, allocations: 306.2 kB / 0.5447 GB, free: 58.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/0.6299, allocations: 28 kB / 0.5448 GB, free: 58.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008537/0.6308, allocations: 71.92 kB / 0.5448 GB, free: 58.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.631, allocations: 101.1 kB / 0.5449 GB, free: 58.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.6311, allocations: 51.98 kB / 0.545 GB, free: 58.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001903/0.633, allocations: 1.688 MB / 0.5466 GB, free: 56.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.633, allocations: 0.5469 kB / 0.5466 GB, free: 56.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002952/0.636, allocations: 0.7113 MB / 0.5473 GB, free: 56 MB / 382.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.0003553/0.6363, allocations: 185.4 kB / 0.5475 GB, free: 55.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004134/0.6405, allocations: 3.496 MB / 0.5509 GB, free: 52.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6405, allocations: 4 kB / 0.5509 GB, free: 52.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.6417, allocations: 1.246 MB / 0.5521 GB, free: 51.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.6433, allocations: 404.4 kB / 0.5525 GB, free: 50.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009016/0.6524, allocations: 6.792 MB / 0.5592 GB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/0.6543, allocations: 2.605 MB / 0.5617 GB, free: 41.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002256/0.6566, allocations: 1.228 MB / 0.5629 GB, free: 39.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.657, allocations: 179.3 kB / 0.5631 GB, free: 39.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.657, allocations: 0 / 0.5631 GB, free: 39.77 MB / 382.1 MB Notification: Performance of Templates: time 0.03558/0.6926, allocations: 25.45 MB / 0.5879 GB, free: 14.51 MB / 382.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 -s cvode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)