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.001419/0.001419, allocations: 92.7 kB / 19.44 MB, free: 324 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.001593/0.001593, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.05006/0.05006, allocations: 7.184 MB / 266.7 MB, free: 6.086 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.503e-06/1.503e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.047e-05, allocations: 4.984 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.007469/0.0075, allocations: 8.583 MB / 346.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.01284, allocations: 2.809 MB / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009969/0.01384, allocations: 43.88 kB / 349.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.01486, allocations: 417.1 kB / 350 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.01896, allocations: 1.602 MB / 351.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.01959, allocations: 187.6 kB / 351.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.0235, allocations: 2.816 MB / 354.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.02488, allocations: 0.8322 MB / 355.4 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.02709, allocations: 1.516 MB / 356.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.02986, allocations: 1.469 MB / 358.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006478/0.03051, allocations: 260 kB / 358.6 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.03239, allocations: 0.8971 MB / 359.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.03395, allocations: 1.402 MB / 360.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.03533, allocations: 0.9186 MB / 361.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008163/0.0435, allocations: 5.622 MB / 367.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.0435, allocations: 0 / 367.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.0435, allocations: 4 kB / 367.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001399/0.04364, allocations: 0 / 367.5 MB, free: 13.07 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.01134/0.05498, allocations: 4.238 MB / 371.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.05503, allocations: 8.625 kB / 371.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009014/0.06405, allocations: 2.374 MB / 374.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/0.06777, allocations: 1.419 MB / 375.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.06798, allocations: 168.5 kB / 375.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005824/0.06856, allocations: 220.2 kB / 375.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.08526, allocations: 8.808 MB / 384.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.08538, allocations: 39.69 kB / 384.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004358/0.08582, allocations: 99.84 kB / 384.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003996/0.08982, allocations: 2.107 MB / 387 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.1065, allocations: 7.953 MB / 394.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1868/0.2933, allocations: 23.84 MB / 418.7 MB, free: 61.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.2982, allocations: 1.947 MB / 420.7 MB, free: 60.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.2996, allocations: 0.8254 MB / 421.5 MB, free: 60.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005111/0.3047, allocations: 2.809 MB / 424.3 MB, free: 60.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3047, allocations: 52.75 kB / 424.4 MB, free: 60 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.747e-06/0.3047, allocations: 0 / 424.4 MB, free: 60 MB / 330.7 MB Notification: Performance of matching and sorting (n=164): time 0.01345/0.3182, allocations: 7.248 MB / 431.6 MB, free: 57.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.3182, allocations: 71.91 kB / 431.7 MB, free: 57.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.3209, allocations: 2.408 MB / 434.1 MB, free: 56.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.321, allocations: 45.64 kB / 434.2 MB, free: 56.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000849/0.3219, allocations: 2.45 MB / 436.6 MB, free: 54.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/0.3222, allocations: 0.6354 MB / 437.2 MB, free: 53.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008795/0.3231, allocations: 0.8665 MB / 438.1 MB, free: 53.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.3232, allocations: 354.7 kB / 438.4 MB, free: 53.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.325, allocations: 1.389 MB / 439.8 MB, free: 52.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/0.3276, allocations: 3.786 MB / 443.6 MB, free: 47.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.3323, allocations: 5.588 MB / 449.2 MB, free: 40.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.744e-05/0.3323, allocations: 24 kB / 449.2 MB, free: 40.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.007618/0.3399, allocations: 5.546 MB / 454.8 MB, free: 35.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.34, allocations: 40 kB / 454.8 MB, free: 35.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.8e-05/0.3401, allocations: 87.94 kB / 454.9 MB, free: 34.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008006/0.3409, allocations: 346 kB / 455.2 MB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.3434, allocations: 0.9631 MB / 456.2 MB, free: 33.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.3464, allocations: 3.168 MB / 459.4 MB, free: 30.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/0.3496, allocations: 211.9 kB / 459.6 MB, free: 30.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004008/0.35, allocations: 254.5 kB / 459.8 MB, free: 29.93 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.002236/0.3522, allocations: 1.739 MB / 461.6 MB, free: 28.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.3526, allocations: 262.5 kB / 461.8 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.3559, allocations: 2.174 MB / 464 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/0.356, allocations: 31.88 kB / 464 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.356, allocations: 0 / 464 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.356, allocations: 7.969 kB / 464 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008416/0.3644, allocations: 5.198 MB / 469.2 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.3644, allocations: 6.938 kB / 469.2 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/0.3653, allocations: 235.7 kB / 469.5 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006062/0.3659, allocations: 242.8 kB / 469.7 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/0.366, allocations: 35.98 kB / 469.7 MB, free: 19.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.3684, allocations: 2.726 MB / 472.5 MB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3684, allocations: 4 kB / 472.5 MB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004265/0.3727, allocations: 3.391 MB / 475.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.3733, allocations: 198.6 kB / 476.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.3735, allocations: 31.28 kB / 476.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/0.3743, allocations: 71.91 kB / 476.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.3745, allocations: 105 kB / 476.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.264e-05/0.3746, allocations: 48 kB / 476.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001723/0.3763, allocations: 1.395 MB / 477.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3763, allocations: 0 / 477.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003134/0.3795, allocations: 0.7381 MB / 478.4 MB, free: 11.03 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.0003863/0.3799, allocations: 177.4 kB / 478.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004606/0.3845, allocations: 3.298 MB / 481.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3845, allocations: 0 / 481.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.3858, allocations: 1.027 MB / 482.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.3873, allocations: 288.2 kB / 483.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.3984, allocations: 7.334 MB / 490.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003546/0.4019, allocations: 2.263 MB / 492.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003505/0.4054, allocations: 1.195 MB / 494 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/0.4059, allocations: 164.5 kB / 494.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.914e-06/0.4059, allocations: 0 / 494.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of Templates: time 0.049/0.4549, allocations: 20.3 MB / 0.5024 GB, free: 7.254 MB / 362.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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.831921798991971]