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.001771/0.001771, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001958/0.001958, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] 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.05399/0.05399, allocations: 7.182 MB / 266.7 MB, free: 5.977 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.492e-06/1.492e-06, allocations: 3.938 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.678e-05, allocations: 6.312 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.008073/0.008099, allocations: 9.39 MB / 347.5 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006356/0.01446, allocations: 2.871 MB / 350.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.01589, allocations: 39.88 kB / 350.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.01705, allocations: 417.1 kB / 350.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.02139, allocations: 1.621 MB / 352.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.022, allocations: 179.5 kB / 352.6 MB, free: 12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004703/0.02671, allocations: 2.824 MB / 355.5 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.0284, allocations: 0.8322 MB / 356.3 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.03123, allocations: 1.516 MB / 357.8 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.03393, allocations: 1.465 MB / 359.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005126/0.03444, allocations: 260 kB / 359.5 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.03644, allocations: 0.9126 MB / 360.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.03814, allocations: 1.406 MB / 361.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.03984, allocations: 0.9187 MB / 362.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008116/0.04796, allocations: 5.618 MB / 368.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.04797, allocations: 0 / 368.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.04797, allocations: 0 / 368.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001341/0.0481, allocations: 0 / 368.4 MB, free: 12.18 MB / 298.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.013/0.0611, allocations: 5.029 MB / 373.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.06116, allocations: 12.62 kB / 373.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.07475, allocations: 2.311 MB / 375.7 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006048/0.0808, allocations: 1.347 MB / 377.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.0811, allocations: 164.5 kB / 377.2 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.08227, allocations: 224.1 kB / 377.5 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.09986, allocations: 4.936 MB / 382.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.1, allocations: 27.7 kB / 382.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005255/0.1005, allocations: 103.8 kB / 382.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006073/0.1066, allocations: 2.095 MB / 384.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.1246, allocations: 3.256 MB / 387.9 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2596/0.3842, allocations: 39.45 MB / 427.3 MB, free: 52.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007426/0.3916, allocations: 1.258 MB / 428.6 MB, free: 52.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.3932, allocations: 436.5 kB / 429 MB, free: 52.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008293/0.4015, allocations: 2.878 MB / 431.9 MB, free: 51.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.4015, allocations: 45.98 kB / 431.9 MB, free: 51.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 6.643e-06/0.4015, allocations: 0 / 431.9 MB, free: 51.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=164): time 0.01913/0.4207, allocations: 4.855 MB / 436.8 MB, free: 50.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.4207, allocations: 66.3 kB / 436.9 MB, free: 49.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006582/0.4273, allocations: 2.895 MB / 439.8 MB, free: 48.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.4275, allocations: 44.95 kB / 439.8 MB, free: 48.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001869/0.4294, allocations: 2.712 MB / 442.5 MB, free: 46.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008262/0.4302, allocations: 0.7064 MB / 443.2 MB, free: 46.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002283/0.4325, allocations: 1.124 MB / 444.3 MB, free: 45.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4326, allocations: 0.5466 MB / 444.9 MB, free: 44.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/0.4351, allocations: 0.5975 MB / 445.5 MB, free: 44.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/0.4395, allocations: 4.299 MB / 449.8 MB, free: 39.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007273/0.4468, allocations: 5.347 MB / 455.1 MB, free: 34.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/0.4469, allocations: 24 kB / 455.2 MB, free: 34.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01195/0.4589, allocations: 3.952 MB / 459.1 MB, free: 30.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.459, allocations: 40 kB / 459.1 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/0.4591, allocations: 84 kB / 459.2 MB, free: 30.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.4602, allocations: 280.9 kB / 459.5 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004509/0.4647, allocations: 0.9631 MB / 460.5 MB, free: 28.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.469, allocations: 3.06 MB / 463.5 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004871/0.4739, allocations: 207.9 kB / 463.7 MB, free: 25.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008145/0.4747, allocations: 256 kB / 464 MB, free: 25.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 381 * 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 (529): * Single equations (assignments): 523 * 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.002944/0.4776, allocations: 0.6096 MB / 464.6 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008768/0.4785, allocations: 262.6 kB / 464.8 MB, free: 24.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/0.4829, allocations: 1.299 MB / 466.1 MB, free: 23.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000143/0.483, allocations: 27.98 kB / 466.2 MB, free: 23.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.4831, allocations: 0 / 466.2 MB, free: 23.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.4831, allocations: 11.97 kB / 466.2 MB, free: 23.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.5008, allocations: 5.552 MB / 471.7 MB, free: 17.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/0.5009, allocations: 4 kB / 471.7 MB, free: 17.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.5022, allocations: 236.1 kB / 472 MB, free: 17.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000763/0.503, allocations: 163.2 kB / 472.1 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.5032, allocations: 35.98 kB / 472.2 MB, free: 16.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.5064, allocations: 2.678 MB / 474.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.5064, allocations: 4 kB / 474.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/0.5119, allocations: 1.978 MB / 476.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009465/0.5128, allocations: 201 kB / 477 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006321/0.5134, allocations: 31.81 kB / 477 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.5151, allocations: 67.92 kB / 477.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.5153, allocations: 105 kB / 477.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.5155, allocations: 52.86 kB / 477.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003414/0.5189, allocations: 1.196 MB / 478.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5189, allocations: 0 / 478.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.006529/0.5254, allocations: 0.7264 MB / 479.2 MB, free: 9.676 MB / 330.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.0007119/0.5262, allocations: 182.5 kB / 479.4 MB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00759/0.5337, allocations: 2.574 MB / 481.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.5338, allocations: 0 / 481.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.5357, allocations: 0.8029 MB / 482.7 MB, free: 6.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.5387, allocations: 292.7 kB / 483 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.5551, allocations: 6.227 MB / 489.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006111/0.5612, allocations: 2.055 MB / 491.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005073/0.5663, allocations: 1.039 MB / 492.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000873/0.5672, allocations: 168.5 kB / 492.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5672, allocations: 0 / 492.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of Templates: time 0.07262/0.6398, allocations: 20.27 MB / 0.5008 GB, free: 8.281 MB / 362.7 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.110901950043626]