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.001294/0.001294, allocations: 93.06 kB / 19.65 MB, free: 276 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.001503/0.001503, allocations: 169 kB / 23.02 MB, free: 1.547 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.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.02922/0.02922, allocations: 7.179 MB / 267.1 MB, free: 6.066 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 2.365e-06/2.365e-06, allocations: 0 / 338.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/3.008e-05, allocations: 2.312 kB / 338.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01212/0.01215, allocations: 9.475 MB / 348.3 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006043/0.01819, allocations: 2.874 MB / 351.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.01928, allocations: 43.88 kB / 351.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008213/0.0201, allocations: 417.1 kB / 351.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.02302, allocations: 1.621 MB / 353.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.02348, allocations: 171.6 kB / 353.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.02637, allocations: 2.824 MB / 356.3 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.02757, allocations: 0.8399 MB / 357.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.02934, allocations: 1.52 MB / 358.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.03132, allocations: 1.465 MB / 360.1 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006347/0.03195, allocations: 264 kB / 360.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.03323, allocations: 0.9048 MB / 361.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008929/0.03412, allocations: 1.414 MB / 362.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.03526, allocations: 0.9109 MB / 363.6 MB, free: 2.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.03894, allocations: 3.673 MB / 367.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.03895, allocations: 0 / 367.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.03895, allocations: 0 / 367.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.666e-05/0.03901, allocations: 0 / 367.3 MB, free: 14.74 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.005909/0.04492, allocations: 4.553 MB / 371.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.04497, allocations: 12.62 kB / 371.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004402/0.04937, allocations: 2.296 MB / 374.1 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.05152, allocations: 1.408 MB / 375.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.05163, allocations: 172.5 kB / 375.7 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000367/0.052, allocations: 220.2 kB / 375.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00622/0.05822, allocations: 4.335 MB / 380.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.949e-05/0.05828, allocations: 31.69 kB / 380.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.05849, allocations: 103.8 kB / 380.4 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001933/0.06042, allocations: 2.088 MB / 382.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006158/0.06658, allocations: 2.649 MB / 385.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02385/0.09042, allocations: 26.35 MB / 411.5 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.09278, allocations: 1.111 MB / 412.6 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/0.09327, allocations: 354.8 kB / 412.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002957/0.09622, allocations: 2.724 MB / 415.6 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.09626, allocations: 54.39 kB / 415.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=146): time 3.948e-06/0.09626, allocations: 0 / 415.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=164): time 0.007834/0.1041, allocations: 4.478 MB / 420.2 MB, free: 8.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1041, allocations: 64.72 kB / 420.2 MB, free: 8.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.1063, allocations: 2.126 MB / 422.4 MB, free: 6.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.1063, allocations: 49.7 kB / 422.4 MB, free: 6.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.1077, allocations: 2.553 MB / 425 MB, free: 3.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/0.1082, allocations: 0.6551 MB / 425.6 MB, free: 2.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008136/0.109, allocations: 0.9334 MB / 426.5 MB, free: 1.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1091, allocations: 0.5238 MB / 427.1 MB, free: 1.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008626/0.11, allocations: 472.4 kB / 427.5 MB, free: 0.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.1125, allocations: 4.02 MB / 431.6 MB, free: 11.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/0.1165, allocations: 4.947 MB / 436.5 MB, free: 4.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-05/0.1166, allocations: 24 kB / 436.5 MB, free: 4.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.004653/0.1212, allocations: 3.671 MB / 440.2 MB, free: 0.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.1213, allocations: 44 kB / 440.2 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.901e-05/0.1214, allocations: 84 kB / 440.3 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/0.1219, allocations: 270.4 kB / 440.6 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1533/0.2751, allocations: 0.9678 MB / 441.6 MB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.2771, allocations: 2.852 MB / 444.4 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.2792, allocations: 209.5 kB / 444.6 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/0.2795, allocations: 256.8 kB / 444.9 MB, free: 120.5 MB / 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.001319/0.2809, allocations: 498.9 kB / 445.3 MB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.2812, allocations: 267 kB / 445.6 MB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.2827, allocations: 1.176 MB / 446.8 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.164e-05/0.2828, allocations: 30.33 kB / 446.8 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2828, allocations: 3.219 kB / 446.8 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.2828, allocations: 6.656 kB / 446.8 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/0.2885, allocations: 4.259 MB / 451.1 MB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.2885, allocations: 3.344 kB / 451.1 MB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.289, allocations: 240.2 kB / 451.3 MB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.2894, allocations: 149.3 kB / 451.5 MB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/0.2894, allocations: 33.94 kB / 451.5 MB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.2908, allocations: 2.539 MB / 454 MB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2908, allocations: 9.969 kB / 454 MB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.2928, allocations: 1.718 MB / 455.8 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.2931, allocations: 197.9 kB / 456 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.2933, allocations: 33.09 kB / 456 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.2937, allocations: 70.66 kB / 456.1 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.2938, allocations: 107.6 kB / 456.2 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.2939, allocations: 48.14 kB / 456.2 MB, free: 117.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009839/0.2949, allocations: 0.9367 MB / 457.1 MB, free: 116.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2949, allocations: 3.188 kB / 457.2 MB, free: 116.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002223/0.2971, allocations: 0.7324 MB / 457.9 MB, free: 116.9 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.0003339/0.2974, allocations: 180.8 kB / 458.1 MB, free: 116.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.3005, allocations: 2.2 MB / 460.3 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3005, allocations: 3.125 kB / 460.3 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.3012, allocations: 0.6888 MB / 461 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.3022, allocations: 301.2 kB / 461.2 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/0.3103, allocations: 6.091 MB / 467.3 MB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008536/0.3112, allocations: 1.015 MB / 468.4 MB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001644/0.3128, allocations: 1.046 MB / 469.4 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.3131, allocations: 170.3 kB / 469.6 MB, free: 112.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/0.3132, allocations: 3.938 kB / 469.6 MB, free: 112.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03035/0.3435, allocations: 19.89 MB / 489.5 MB, free: 109.8 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: 3.5885350932367146]