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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.168/1.168, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.0373/0.0373, allocations: 7.19 MB / 267.4 MB, free: 5.918 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.834e-06/1.834e-06, allocations: 0 / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.363e-05, allocations: 4.703 kB / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.008104/0.008127, allocations: 9.24 MB / 348.5 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005635/0.01376, allocations: 2.854 MB / 351.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.01499, allocations: 43.88 kB / 351.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009182/0.01591, allocations: 417.1 kB / 351.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.01996, allocations: 1.617 MB / 353.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.02056, allocations: 175.6 kB / 353.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.02316, allocations: 2.822 MB / 356.5 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008496/0.02401, allocations: 0.836 MB / 357.3 MB, free: 8.906 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.02536, allocations: 1.52 MB / 358.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.02688, allocations: 1.473 MB / 360.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003415/0.02722, allocations: 260 kB / 360.5 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.02844, allocations: 0.9088 MB / 361.5 MB, free: 4.742 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008507/0.02929, allocations: 1.406 MB / 362.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007764/0.03006, allocations: 0.9187 MB / 363.8 MB, free: 2.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.03306, allocations: 3.665 MB / 367.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.03307, allocations: 0 / 367.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.03307, allocations: 0 / 367.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.91e-05/0.03313, allocations: 3.938 kB / 367.4 MB, free: 14.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1316 * Number of variables: 1316 Notification: Performance of Generate backend data structure: time 0.005828/0.03896, allocations: 4.478 MB / 371.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.039, allocations: 8.625 kB / 371.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/0.04228, allocations: 1.352 MB / 373.3 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.04377, allocations: 1.303 MB / 374.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.97e-05/0.04387, allocations: 168.5 kB / 374.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.04415, allocations: 220.2 kB / 375 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004695/0.04884, allocations: 3.944 MB / 378.9 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.233e-05/0.0489, allocations: 23.77 kB / 378.9 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.04911, allocations: 99.84 kB / 379 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001795/0.05091, allocations: 1.904 MB / 380.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.05495, allocations: 2.123 MB / 383.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/0.07498, allocations: 26.14 MB / 409.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.07694, allocations: 1.014 MB / 410.2 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.07728, allocations: 298.8 kB / 410.5 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00297/0.08025, allocations: 2.61 MB / 413.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.08028, allocations: 50.39 kB / 413.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=146): time 2.575e-06/0.08029, allocations: 3.938 kB / 413.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=164): time 0.006046/0.08633, allocations: 3.747 MB / 416.9 MB, free: 11.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.08637, allocations: 64.72 kB / 417 MB, free: 11.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.08847, allocations: 2.109 MB / 419.1 MB, free: 9.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.08854, allocations: 49.69 kB / 419.1 MB, free: 9.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.08975, allocations: 2.576 MB / 421.7 MB, free: 6.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.09014, allocations: 0.6628 MB / 422.4 MB, free: 6.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008574/0.09099, allocations: 0.9448 MB / 423.3 MB, free: 5.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.09117, allocations: 0.5198 MB / 423.8 MB, free: 4.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.09166, allocations: 372.4 kB / 424.2 MB, free: 4.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.09437, allocations: 3.933 MB / 428.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003963/0.09833, allocations: 4.817 MB / 433 MB, free: 8.383 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.33e-05/0.09836, allocations: 24 kB / 433 MB, free: 8.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.003785/0.1021, allocations: 3.392 MB / 436.4 MB, free: 4.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.1022, allocations: 47.98 kB / 436.4 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.957e-05/0.1023, allocations: 84.16 kB / 436.5 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.1027, allocations: 267.6 kB / 436.8 MB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.1046, allocations: 0.9358 MB / 437.7 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1067, allocations: 2.771 MB / 440.5 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.1081, allocations: 176 kB / 440.6 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.1083, allocations: 227.9 kB / 440.9 MB, free: 344 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 383 * Number of states: 0 () * Number of discrete variables: 15 (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],slipBasedWheelJoint.wheel.colorRim[3],slipBasedWheelJoint.wheel.colorRim[2],slipBasedWheelJoint.wheel.colorRim[1],slipBasedWheelJoint.color[3],slipBasedWheelJoint.color[2],slipBasedWheelJoint.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 525 * 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.2264/0.3347, allocations: 0.4907 MB / 441.4 MB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005596/0.3353, allocations: 253.1 kB / 441.6 MB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.3462, allocations: 1.068 MB / 442.7 MB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.341e-05/0.3463, allocations: 18.59 kB / 442.7 MB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3463, allocations: 6.031 kB / 442.7 MB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.3463, allocations: 13.27 kB / 442.7 MB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.3581, allocations: 3.32 MB / 446 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.3581, allocations: 9.828 kB / 446 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/0.3588, allocations: 215.2 kB / 446.2 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.3592, allocations: 148.2 kB / 446.4 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.521e-05/0.3593, allocations: 36.23 kB / 446.4 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.3609, allocations: 2.451 MB / 448.9 MB, free: 120.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.361, allocations: 7.031 kB / 448.9 MB, free: 120.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.3631, allocations: 1.571 MB / 450.5 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.3635, allocations: 194.4 kB / 450.6 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.3636, allocations: 26.22 kB / 450.7 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.3642, allocations: 31.06 kB / 450.7 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.3643, allocations: 103.4 kB / 450.8 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.3644, allocations: 43.45 kB / 450.8 MB, free: 120.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009886/0.3654, allocations: 0.8649 MB / 451.7 MB, free: 120 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3654, allocations: 0.6875 kB / 451.7 MB, free: 120 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003544/0.3689, allocations: 0.7319 MB / 452.4 MB, free: 120 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (130): * Single equations (assignments): 124 * 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.0003573/0.3693, allocations: 185.6 kB / 452.6 MB, free: 119.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003142/0.3724, allocations: 2.05 MB / 454.7 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3725, allocations: 0 / 454.7 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007403/0.3732, allocations: 0.6549 MB / 455.3 MB, free: 119.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3743, allocations: 295.9 kB / 455.6 MB, free: 119.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008723/0.383, allocations: 6.063 MB / 461.7 MB, free: 116.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.3841, allocations: 1.019 MB / 462.7 MB, free: 116.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007416/0.3848, allocations: 328.9 kB / 463 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.3853, allocations: 425.8 kB / 463.4 MB, free: 116.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.3853, allocations: 1.75 kB / 463.4 MB, free: 116.4 MB / 410.7 MB Notification: Performance of Templates: time 0.0317/0.417, allocations: 21.26 MB / 484.7 MB, free: 113.7 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.394225895870477]