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.001156/0.001156, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001161/0.001161, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04655/0.04655, allocations: 9.117 MB / 300.3 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 59.91 kB / 363.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2758, allocations: 51.42 MB / 414.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.008561/0.2844, allocations: 8.783 MB / 423.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.2899, allocations: 2.748 MB / 426.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.2913, allocations: 35.88 kB / 426.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.2926, allocations: 365.5 kB / 426.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.2965, allocations: 1.408 MB / 428.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.2973, allocations: 187.6 kB / 428.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003188/0.3005, allocations: 2.549 MB / 430.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.3019, allocations: 0.8661 MB / 431.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.3038, allocations: 0.9104 MB / 432.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.3058, allocations: 1.331 MB / 434 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007976/0.3066, allocations: 232 kB / 434.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.3085, allocations: 0.8855 MB / 435.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.3099, allocations: 1.219 MB / 436.3 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.3122, allocations: 1.573 MB / 437.9 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/0.3179, allocations: 5.06 MB / 442.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.318, allocations: 0 / 442.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.318, allocations: 7.938 kB / 443 MB, free: 12.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.3181, allocations: 0 / 443 MB, free: 12.58 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.01763/0.3357, allocations: 5.047 MB / 448 MB, free: 7.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3358, allocations: 8.031 kB / 448 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007035/0.3428, allocations: 1.767 MB / 449.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.3466, allocations: 1.425 MB / 451.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.3468, allocations: 152 kB / 451.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.3478, allocations: 192 kB / 451.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.3639, allocations: 8.472 MB / 460 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.364, allocations: 27.77 kB / 460 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005771/0.3646, allocations: 91.86 kB / 460.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003162/0.3678, allocations: 1.887 MB / 462 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/0.3851, allocations: 8.144 MB / 470.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04332/0.4285, allocations: 25.9 MB / 496.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.4385, allocations: 2.854 MB / 498.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.4405, allocations: 1.087 MB / 0.4883 GB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007976/0.4485, allocations: 5.034 MB / 0.4932 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.4485, allocations: 51.88 kB / 0.4932 GB, free: 12.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.076e-06/0.4486, allocations: 0 / 0.4932 GB, free: 12.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01725/0.4658, allocations: 7.983 MB / 0.501 GB, free: 4.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.4659, allocations: 72.72 kB / 0.5011 GB, free: 4.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/0.4703, allocations: 2.622 MB / 0.5037 GB, free: 1.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.4704, allocations: 49.64 kB / 0.5037 GB, free: 1.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2224/0.6928, allocations: 2.06 MB / 0.5057 GB, free: 89.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00097/0.6938, allocations: 0.6417 MB / 0.5064 GB, free: 88.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002247/0.6961, allocations: 0.8123 MB / 0.5072 GB, free: 88.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.6962, allocations: 305.7 kB / 0.5074 GB, free: 88.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.6989, allocations: 1.382 MB / 0.5088 GB, free: 88.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/0.7024, allocations: 3.54 MB / 0.5123 GB, free: 84.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.7085, allocations: 5.318 MB / 0.5174 GB, free: 80.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-05/0.7085, allocations: 21.75 kB / 0.5175 GB, free: 80.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.007641/0.7162, allocations: 5.138 MB / 0.5225 GB, free: 78.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.7163, allocations: 39.12 kB / 0.5225 GB, free: 78.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.7164, allocations: 72.91 kB / 0.5226 GB, free: 78.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007038/0.7171, allocations: 309 kB / 0.5229 GB, free: 78.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/0.7196, allocations: 0.9093 MB / 0.5238 GB, free: 78.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.7227, allocations: 3.293 MB / 0.527 GB, free: 75.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.7253, allocations: 198.2 kB / 0.5272 GB, free: 75.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003499/0.7256, allocations: 239.4 kB / 0.5274 GB, free: 75.41 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.001902/0.7275, allocations: 1.574 MB / 0.5289 GB, free: 74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.7279, allocations: 229 kB / 0.5292 GB, free: 73.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/0.7312, allocations: 2.37 MB / 0.5315 GB, free: 71.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.84e-05/0.7313, allocations: 31.7 kB / 0.5315 GB, free: 71.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.7313, allocations: 0 / 0.5315 GB, free: 71.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.7313, allocations: 7.594 kB / 0.5315 GB, free: 71.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00908/0.7404, allocations: 6.269 MB / 0.5376 GB, free: 66.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.7404, allocations: 4 kB / 0.5376 GB, free: 66.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009787/0.7414, allocations: 259.5 kB / 0.5379 GB, free: 65.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.742, allocations: 212.5 kB / 0.5381 GB, free: 65.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.7421, allocations: 32 kB / 0.5381 GB, free: 65.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.7446, allocations: 2.855 MB / 0.5409 GB, free: 62.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7446, allocations: 8.016 kB / 0.5409 GB, free: 62.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.7488, allocations: 3.617 MB / 0.5444 GB, free: 58.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006522/0.7495, allocations: 302.4 kB / 0.5447 GB, free: 58.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/0.75, allocations: 32 kB / 0.5448 GB, free: 58.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.751, allocations: 71.92 kB / 0.5448 GB, free: 58.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.7512, allocations: 97.11 kB / 0.5449 GB, free: 58.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.862e-05/0.7513, allocations: 53.3 kB / 0.545 GB, free: 58.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002674/0.754, allocations: 1.701 MB / 0.5466 GB, free: 56.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.754, allocations: 0 / 0.5466 GB, free: 56.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002934/0.7569, allocations: 0.7041 MB / 0.5473 GB, free: 55.93 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.0003919/0.7573, allocations: 187 kB / 0.5475 GB, free: 55.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004505/0.7618, allocations: 3.501 MB / 0.5509 GB, free: 52.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7618, allocations: 0 / 0.5509 GB, free: 52.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.7632, allocations: 1.247 MB / 0.5521 GB, free: 50.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.7651, allocations: 399.4 kB / 0.5525 GB, free: 50.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009818/0.7749, allocations: 6.807 MB / 0.5592 GB, free: 43.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.7777, allocations: 2.602 MB / 0.5617 GB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002492/0.7802, allocations: 1.221 MB / 0.5629 GB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/0.7807, allocations: 183.4 kB / 0.5631 GB, free: 39.7 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7807, allocations: 0 / 0.5631 GB, free: 39.7 MB / 382.1 MB Notification: Performance of Templates: time 0.03999/0.8207, allocations: 25.45 MB / 0.5879 GB, free: 14.46 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 gbode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)