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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009781/0.0009783, allocations: 172.8 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 240.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008494, allocations: 102.2 kB / 291.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04076/0.04076, allocations: 8.949 MB / 351.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003828, allocations: 12 kB / 414.4 MB, free: 56.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 52.39 MB / 466.8 MB, free: 4.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4688, allocations: 90.9 MB / 0.5446 GB, free: 10.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4692, allocations: 81.72 kB / 0.5447 GB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1671/0.6362, allocations: 63.73 MB / 0.6069 GB, free: 12.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.117e-06/0.6363, allocations: 0 / 0.6069 GB, free: 12.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001362/0.6365, allocations: 52 kB / 0.607 GB, free: 12.61 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01623/0.6527, allocations: 3.523 MB / 0.6104 GB, free: 9.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.6528, allocations: 8.031 kB / 0.6104 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009546/0.6623, allocations: 1.939 MB / 0.6123 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.6679, allocations: 1.79 MB / 0.6141 GB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004608/0.6684, allocations: 234.1 kB / 0.6143 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.6701, allocations: 292.2 kB / 0.6146 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.6887, allocations: 8.051 MB / 0.6224 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.6889, allocations: 27.69 kB / 0.6225 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/0.6894, allocations: 135.9 kB / 0.6226 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001399/0.6908, allocations: 0.9038 MB / 0.6235 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.7089, allocations: 8.019 MB / 0.6313 GB, free: 3.164 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2457/0.9546, allocations: 25.93 MB / 0.6566 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009369/0.964, allocations: 2.863 MB / 0.6594 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.9657, allocations: 1.036 MB / 0.6604 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00673/0.9724, allocations: 4.987 MB / 0.6653 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.9725, allocations: 44.62 kB / 0.6654 GB, free: 103.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 5.801e-06/0.9725, allocations: 3.703 kB / 0.6654 GB, free: 103.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=167): time 0.01685/0.9894, allocations: 7.253 MB / 0.6724 GB, free: 102.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.9895, allocations: 66.03 kB / 0.6725 GB, free: 102.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/0.9936, allocations: 2.57 MB / 0.675 GB, free: 102 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.9937, allocations: 52.92 kB / 0.6751 GB, free: 102 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000977/0.9947, allocations: 2.064 MB / 0.6771 GB, free: 100.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/0.9952, allocations: 0.6259 MB / 0.6777 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.9953, allocations: 79.25 kB / 0.6778 GB, free: 100.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.9955, allocations: 482.4 kB / 0.6782 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.9973, allocations: 1.301 MB / 0.6795 GB, free: 100.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.9996, allocations: 3.459 MB / 0.6829 GB, free: 97.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004574/1.004, allocations: 5.161 MB / 0.6879 GB, free: 94.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/1.004, allocations: 19.56 kB / 0.6879 GB, free: 94.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.007397/1.012, allocations: 4.921 MB / 0.6927 GB, free: 93.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/1.012, allocations: 35.75 kB / 0.6928 GB, free: 93.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.909e-05/1.012, allocations: 77.78 kB / 0.6928 GB, free: 93.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/1.012, allocations: 277.5 kB / 0.6931 GB, free: 93.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.015, allocations: 0.8874 MB / 0.694 GB, free: 93.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/1.017, allocations: 2.639 MB / 0.6966 GB, free: 91.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/1.02, allocations: 180.6 kB / 0.6967 GB, free: 91.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003974/1.021, allocations: 245.4 kB / 0.697 GB, free: 91.8 MB / 458.7 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 (487): * Single equations (assignments): 481 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002569/1.023, allocations: 1.574 MB / 0.6985 GB, free: 91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/1.024, allocations: 228.2 kB / 0.6987 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/1.027, allocations: 2.153 MB / 0.7008 GB, free: 90.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.845e-05/1.027, allocations: 33.02 kB / 0.7008 GB, free: 90.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.027, allocations: 0 / 0.7008 GB, free: 90.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.027, allocations: 13.2 kB / 0.7009 GB, free: 90.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009685/1.037, allocations: 5.889 MB / 0.7066 GB, free: 87.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.037, allocations: 2.531 kB / 0.7066 GB, free: 87.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/1.038, allocations: 235.8 kB / 0.7068 GB, free: 87.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/1.038, allocations: 172.9 kB / 0.707 GB, free: 87.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/1.038, allocations: 34.33 kB / 0.707 GB, free: 87.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.04, allocations: 2.231 MB / 0.7092 GB, free: 85.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.04, allocations: 1.344 kB / 0.7092 GB, free: 85.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/1.044, allocations: 3.284 MB / 0.7124 GB, free: 84.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008847/1.045, allocations: 323.2 kB / 0.7127 GB, free: 84.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.046, allocations: 26.06 kB / 0.7128 GB, free: 84.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/1.046, allocations: 53.06 kB / 0.7128 GB, free: 84.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/1.047, allocations: 100 kB / 0.7129 GB, free: 84.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/1.047, allocations: 51.95 kB / 0.713 GB, free: 84.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002289/1.049, allocations: 1.654 MB / 0.7146 GB, free: 83.53 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.049, allocations: 0 / 0.7146 GB, free: 83.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002955/1.052, allocations: 0.7047 MB / 0.7153 GB, free: 83.45 MB / 458.7 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 (133): * Single equations (assignments): 127 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003869/1.052, allocations: 193.4 kB / 0.7154 GB, free: 83.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004525/1.057, allocations: 3.304 MB / 0.7187 GB, free: 82.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.057, allocations: 0 / 0.7187 GB, free: 82.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/1.058, allocations: 1.151 MB / 0.7198 GB, free: 81.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.061, allocations: 366.2 kB / 0.7201 GB, free: 81.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.072, allocations: 8.07 MB / 0.728 GB, free: 76.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/1.074, allocations: 2.588 MB / 0.7305 GB, free: 74.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002918/1.077, allocations: 1.203 MB / 0.7317 GB, free: 74.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/1.077, allocations: 177.1 kB / 0.7319 GB, free: 73.93 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/1.077, allocations: 0 / 0.7319 GB, free: 73.93 MB / 458.7 MB Notification: Performance of Templates: time 0.04244/1.12, allocations: 24.88 MB / 0.7562 GB, free: 55.11 MB / 458.7 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)