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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.75/1.75, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04701/0.04701, allocations: 9.249 MB / 313.7 MB, free: 1.66 MB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.88 kB / 437.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 54.24 MB / 491.6 MB, free: 25.86 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01114/0.382, allocations: 8.866 MB / 0.4888 GB, free: 19.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006864/0.3889, allocations: 2.763 MB / 0.4915 GB, free: 17.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.3907, allocations: 33.19 kB / 0.4915 GB, free: 17.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009437/0.3916, allocations: 383.3 kB / 0.4918 GB, free: 17.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.3956, allocations: 1.444 MB / 0.4933 GB, free: 16.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007557/0.3964, allocations: 183 kB / 0.4934 GB, free: 16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00493/0.4013, allocations: 2.549 MB / 0.4959 GB, free: 14.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.4028, allocations: 0.74 MB / 0.4966 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.4046, allocations: 0.9128 MB / 0.4975 GB, free: 13.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.4068, allocations: 1.453 MB / 0.499 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007641/0.4075, allocations: 233.3 kB / 0.4992 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.4097, allocations: 0.9227 MB / 0.5001 GB, free: 12.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.4108, allocations: 1.247 MB / 0.5013 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.4123, allocations: 1.574 MB / 0.5028 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007481/0.4198, allocations: 5.103 MB / 0.5078 GB, free: 6.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4198, allocations: 3.984 kB / 0.5078 GB, free: 6.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4198, allocations: 0 / 0.5078 GB, free: 6.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002062/0.42, allocations: 0 / 0.5078 GB, free: 6.621 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.01765/0.4377, allocations: 5.126 MB / 0.5128 GB, free: 1.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4377, allocations: 12.03 kB / 0.5128 GB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/0.4438, allocations: 1.785 MB / 0.5146 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/0.4482, allocations: 1.433 MB / 0.516 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.4485, allocations: 152 kB / 0.5161 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008066/0.4493, allocations: 207.9 kB / 0.5163 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/0.4686, allocations: 8.472 MB / 0.5246 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.4687, allocations: 35.69 kB / 0.5246 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.469, allocations: 91.88 kB / 0.5247 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003312/0.4723, allocations: 1.879 MB / 0.5266 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/0.4939, allocations: 8.148 MB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04588/0.5398, allocations: 25.95 MB / 0.5599 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.55, allocations: 2.769 MB / 0.5626 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.5519, allocations: 1.025 MB / 0.5636 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008489/0.5604, allocations: 5.039 MB / 0.5685 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5604, allocations: 43.88 kB / 0.5685 GB, free: 7.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.256e-06/0.5604, allocations: 0 / 0.5685 GB, free: 7.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=175): time 0.01851/0.5789, allocations: 8.047 MB / 0.5764 GB, free: 14.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.579, allocations: 72.72 kB / 0.5764 GB, free: 14.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/0.5843, allocations: 2.623 MB / 0.579 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003435/0.5846, allocations: 45.7 kB / 0.5791 GB, free: 12.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.5866, allocations: 2.153 MB / 0.5812 GB, free: 9.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009673/0.5875, allocations: 0.6704 MB / 0.5818 GB, free: 9.234 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.5889, allocations: 0.8105 MB / 0.5826 GB, free: 8.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.589, allocations: 305.1 kB / 0.5829 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/0.5917, allocations: 1.382 MB / 0.5842 GB, free: 6.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004487/0.5962, allocations: 3.552 MB / 0.5877 GB, free: 2.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008415/0.6046, allocations: 5.313 MB / 0.5929 GB, free: 11.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-05/0.6047, allocations: 24 kB / 0.5929 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01278/0.6175, allocations: 5.142 MB / 0.5979 GB, free: 6.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.862e-05/0.6176, allocations: 36 kB / 0.598 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/0.6177, allocations: 80.78 kB / 0.5981 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008524/0.6186, allocations: 315.2 kB / 0.5984 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/0.6221, allocations: 0.9046 MB / 0.5992 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004827/0.6269, allocations: 3.29 MB / 0.6025 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/0.6307, allocations: 195.9 kB / 0.6026 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.6317, allocations: 236 kB / 0.6029 GB, free: 1.375 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.3234/0.9552, allocations: 1.578 MB / 0.6044 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/0.9558, allocations: 240.4 kB / 0.6046 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/0.9611, allocations: 2.362 MB / 0.6069 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000117/0.9612, allocations: 30.33 kB / 0.607 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.9612, allocations: 5.656 kB / 0.607 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.9612, allocations: 7.453 kB / 0.607 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.9753, allocations: 6.255 MB / 0.6131 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.9753, allocations: 3.031 kB / 0.6131 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.9764, allocations: 256.1 kB / 0.6133 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006019/0.977, allocations: 207.5 kB / 0.6135 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.9771, allocations: 34.98 kB / 0.6136 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.9802, allocations: 2.865 MB / 0.6164 GB, free: 98.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.9802, allocations: 6.531 kB / 0.6164 GB, free: 98.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005781/0.986, allocations: 3.624 MB / 0.6199 GB, free: 97.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009273/0.9869, allocations: 324.4 kB / 0.6202 GB, free: 97.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.9872, allocations: 23.94 kB / 0.6202 GB, free: 97.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/0.9881, allocations: 81.72 kB / 0.6203 GB, free: 97.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.9883, allocations: 93.28 kB / 0.6204 GB, free: 97.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.9885, allocations: 50.06 kB / 0.6205 GB, free: 97.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002608/0.9911, allocations: 1.69 MB / 0.6221 GB, free: 96.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9911, allocations: 2.625 kB / 0.6221 GB, free: 96.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004209/0.9953, allocations: 0.7074 MB / 0.6228 GB, free: 96.36 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.0005528/0.9958, allocations: 190 kB / 0.623 GB, free: 96.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00612/1.002, allocations: 3.375 MB / 0.6263 GB, free: 94.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.002, allocations: 4 kB / 0.6263 GB, free: 94.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001955/1.004, allocations: 1.177 MB / 0.6274 GB, free: 94.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/1.006, allocations: 400.5 kB / 0.6278 GB, free: 94.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.019, allocations: 6.97 MB / 0.6346 GB, free: 91.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002291/1.021, allocations: 2.6 MB / 0.6372 GB, free: 89.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002729/1.024, allocations: 1.22 MB / 0.6384 GB, free: 89.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/1.025, allocations: 184.1 kB / 0.6385 GB, free: 89.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/1.025, allocations: 4 kB / 0.6385 GB, free: 89.39 MB / 462.1 MB Notification: Performance of Templates: time 0.04621/1.071, allocations: 28.23 MB / 0.6661 GB, free: 61.64 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.57375833299011]