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.0006753/0.0006753, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009322/0.001608, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006777/0.0006777, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009404/0.001618, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9642/0.9642, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08399/1.048, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.04621/0.04621, allocations: 7.178 MB / 251.3 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008303/0.05451, allocations: 2.565 MB / 253.9 MB, free: 5.199 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.214e-06/2.214e-06, allocations: 0 / 255.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.307e-05, allocations: 2.312 kB / 255.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.009815/0.009838, allocations: 9.363 MB / 264.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005556/0.01539, allocations: 2.985 MB / 267.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006703/0.01606, allocations: 39.88 kB / 267.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.01678, allocations: 449 kB / 268 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.01945, allocations: 1.586 MB / 269.6 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.0198, allocations: 171.6 kB / 269.7 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.02229, allocations: 2.822 MB / 272.6 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.02344, allocations: 0.8446 MB / 273.4 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1204/0.1438, allocations: 1.584 MB / 275 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.1461, allocations: 1.41 MB / 276.4 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007811/0.1468, allocations: 259.9 kB / 276.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.1483, allocations: 0.9154 MB / 277.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009589/0.1493, allocations: 1.257 MB / 278.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.1504, allocations: 0.7607 MB / 279.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.1542, allocations: 3.415 MB / 283 MB, free: 2.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.1542, allocations: 0 / 283 MB, free: 2.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1542, allocations: 0 / 283 MB, free: 2.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001444/0.1544, allocations: 4.75 kB / 283 MB, free: 2.543 MB / 266.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.006486/0.1608, allocations: 4.424 MB / 287.4 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1609, allocations: 15.14 kB / 287.4 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.1639, allocations: 1.095 MB / 288.5 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.1652, allocations: 1.082 MB / 289.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.1653, allocations: 167.6 kB / 289.8 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.1656, allocations: 223.9 kB / 290 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/0.1695, allocations: 3.678 MB / 293.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-05/0.1696, allocations: 16.47 kB / 293.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.1698, allocations: 108.2 kB / 293.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/0.1713, allocations: 1.803 MB / 295.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004073/0.1754, allocations: 2.158 MB / 297.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/0.1925, allocations: 19.25 MB / 317 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.1946, allocations: 1.006 MB / 318 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.195, allocations: 267.6 kB / 318.3 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003083/0.198, allocations: 2.278 MB / 320.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1981, allocations: 54.41 kB / 320.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of pre-optimization done (n=146): time 3.747e-06/0.1981, allocations: 0 / 320.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=164): time 0.006563/0.2046, allocations: 3.861 MB / 324.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.2047, allocations: 79.83 kB / 324.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.2063, allocations: 1.884 MB / 326.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.2063, allocations: 54.3 kB / 326.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009624/0.2073, allocations: 2.386 MB / 328.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.2077, allocations: 0.6311 MB / 329.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007063/0.2084, allocations: 0.8311 MB / 330.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2085, allocations: 357.8 kB / 330.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.2091, allocations: 452.5 kB / 331.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.2106, allocations: 2.756 MB / 333.9 MB, free: 9.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.2136, allocations: 4.078 MB / 338 MB, free: 4.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-05/0.2137, allocations: 24 kB / 338 MB, free: 4.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.003235/0.2169, allocations: 2.912 MB / 340.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.2169, allocations: 40 kB / 340.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.299e-05/0.217, allocations: 97.41 kB / 341 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/0.2175, allocations: 265.1 kB / 341.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.2192, allocations: 1.045 MB / 342.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.2209, allocations: 2.166 MB / 344.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.2225, allocations: 171.3 kB / 344.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.2227, allocations: 220 kB / 344.9 MB, free: 13.28 MB / 330.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.001169/0.2239, allocations: 464.3 kB / 345.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.2241, allocations: 163 kB / 345.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.2253, allocations: 0.8948 MB / 346.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.403e-05/0.2253, allocations: 23.92 kB / 346.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2253, allocations: 0 / 346.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.2253, allocations: 13.23 kB / 346.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.2297, allocations: 2.928 MB / 349.4 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.2297, allocations: 12.06 kB / 349.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.2303, allocations: 251.7 kB / 349.6 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.2305, allocations: 184.1 kB / 349.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.231, allocations: 228.6 kB / 350 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.2311, allocations: 35.08 kB / 350.1 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.2323, allocations: 1.862 MB / 351.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2323, allocations: 4 kB / 351.9 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.2338, allocations: 1.33 MB / 353.3 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.234, allocations: 28 kB / 353.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.2344, allocations: 36.02 kB / 353.3 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.2345, allocations: 97.02 kB / 353.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.2346, allocations: 43.98 kB / 353.5 MB, free: 4.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006525/0.2353, allocations: 0.6765 MB / 354.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2353, allocations: 0 / 354.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002483/0.2377, allocations: 0.7381 MB / 354.9 MB, free: 3.363 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.0003494/0.2381, allocations: 170.6 kB / 355 MB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002422/0.2405, allocations: 1.94 MB / 357 MB, free: 1.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001237/0.2406, allocations: 66.56 kB / 357 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007321/0.2414, allocations: 0.6342 MB / 357.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.2429, allocations: 1.912 MB / 359.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.2543, allocations: 6.251 MB / 365.8 MB, free: 8.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009438/0.2553, allocations: 1.012 MB / 366.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009467/0.2562, allocations: 321.2 kB / 367.2 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.2567, allocations: 373.2 kB / 367.5 MB, free: 6.387 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2567, allocations: 0 / 367.5 MB, free: 6.387 MB / 346.7 MB Notification: Performance of Templates: time 0.03512/0.2918, allocations: 21.05 MB / 388.6 MB, free: 1.539 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.049778074026108]