Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.0006983/0.0006983, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009137/0.001612, 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.000686/0.000686, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009341/0.00162, 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.9631/0.9631, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07859/1.042, allocations: 53.66 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.02877/0.02877, allocations: 7.182 MB / 251.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004608/0.03338, allocations: 2.557 MB / 253.9 MB, free: 5.203 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.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 255.2 MB, free: 3.922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.418e-05, allocations: 5.969 kB / 255.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.00939/0.009414, allocations: 9.069 MB / 264.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.0138, allocations: 2.853 MB / 267.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.01442, allocations: 43.81 kB / 267.1 MB, free: 7.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.015, allocations: 433.2 kB / 267.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.01722, allocations: 1.462 MB / 269 MB, free: 6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.01744, allocations: 115.7 kB / 269.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002134/0.01958, allocations: 2.708 MB / 271.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009178/0.02049, allocations: 0.8127 MB / 272.6 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.02198, allocations: 1.507 MB / 274.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1421/0.164, allocations: 1.341 MB / 275.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006965/0.1647, allocations: 252.3 kB / 275.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.1661, allocations: 0.7619 MB / 276.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.167, allocations: 1.223 MB / 277.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009526/0.1679, allocations: 0.7301 MB / 278.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.1709, allocations: 3.262 MB / 281.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.171, allocations: 3.391 kB / 281.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.171, allocations: 1.406 kB / 281.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.1711, allocations: 3.938 kB / 281.7 MB, free: 3.297 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.005708/0.1768, allocations: 4.174 MB / 285.9 MB, free: 1.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1768, allocations: 11.42 kB / 285.9 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.1803, allocations: 1.083 MB / 287 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.1818, allocations: 1.056 MB / 288 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.1819, allocations: 162.3 kB / 288.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.1823, allocations: 213.8 kB / 288.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004124/0.1864, allocations: 3.493 MB / 291.9 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.1864, allocations: 21.12 kB / 291.9 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.1867, allocations: 100.9 kB / 292 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001784/0.1885, allocations: 1.755 MB / 293.8 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.1921, allocations: 2.036 MB / 295.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/0.2092, allocations: 18.33 MB / 314.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.2111, allocations: 0.8762 MB / 315 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.2115, allocations: 226.6 kB / 315.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002721/0.2142, allocations: 2.042 MB / 317.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2142, allocations: 43.56 kB / 317.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.835e-06/0.2142, allocations: 1.062 kB / 317.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=156): time 0.006401/0.2206, allocations: 3.412 MB / 320.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2207, allocations: 65.22 kB / 320.8 MB, free: 7.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.2223, allocations: 1.814 MB / 322.6 MB, free: 5.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.2224, allocations: 51.05 kB / 322.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.2234, allocations: 2.315 MB / 325 MB, free: 3.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.2238, allocations: 0.5947 MB / 325.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008442/0.2246, allocations: 0.7952 MB / 326.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.2247, allocations: 351.6 kB / 326.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/0.2254, allocations: 427.3 kB / 327.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.2272, allocations: 2.634 MB / 329.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.2305, allocations: 3.893 MB / 333.7 MB, free: 9.062 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/0.2305, allocations: 24 kB / 333.7 MB, free: 9.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.003753/0.2343, allocations: 2.825 MB / 336.5 MB, free: 6.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.2343, allocations: 37.56 kB / 336.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.6e-05/0.2344, allocations: 88 kB / 336.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/0.2351, allocations: 334.5 kB / 337 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.2372, allocations: 0.9827 MB / 337.9 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/0.2405, allocations: 3.846 MB / 341.8 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.2421, allocations: 163.4 kB / 341.9 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.2423, allocations: 216 kB / 342.2 MB, free: 388 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 366 * 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],idealWheelJoint.wheel.colorRim[3],idealWheelJoint.wheel.colorRim[2],idealWheelJoint.wheel.colorRim[1],idealWheelJoint.color[3],idealWheelJoint.color[2],idealWheelJoint.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (494): * Single equations (assignments): 488 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,64.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009371/0.2433, allocations: 441.1 kB / 342.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.2435, allocations: 154.6 kB / 342.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.2448, allocations: 0.8801 MB / 343.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/0.2449, allocations: 16 kB / 343.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2449, allocations: 4 kB / 343.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2449, allocations: 7.969 kB / 343.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.2481, allocations: 2.825 MB / 346.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.2482, allocations: 8 kB / 346.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.2486, allocations: 212.1 kB / 346.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.2488, allocations: 174.7 kB / 346.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.2492, allocations: 283.7 kB / 347.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.2493, allocations: 31.98 kB / 347.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.2512, allocations: 3.085 MB / 350.2 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2512, allocations: 7.938 kB / 350.3 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2525, allocations: 1.262 MB / 351.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2526, allocations: 28 kB / 351.5 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.2529, allocations: 28 kB / 351.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.253, allocations: 100.8 kB / 351.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.2531, allocations: 43.86 kB / 351.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005148/0.2536, allocations: 0.649 MB / 352.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2536, allocations: 0 / 352.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001597/0.2552, allocations: 0.7147 MB / 353.1 MB, free: 5.441 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (113): * Single equations (assignments): 107 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002312/0.2554, allocations: 143.3 kB / 353.2 MB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.2573, allocations: 2.063 MB / 355.3 MB, free: 3.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001085/0.2574, allocations: 64.69 kB / 355.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000697/0.2581, allocations: 0.7778 MB / 356.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.2594, allocations: 1.847 MB / 358 MB, free: 340 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009088/0.2685, allocations: 6.128 MB / 364.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009485/0.2695, allocations: 0.9859 MB / 365.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006946/0.2702, allocations: 304.4 kB / 365.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.2706, allocations: 353.2 kB / 365.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2706, allocations: 4 kB / 365.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of Templates: time 0.03157/0.3022, allocations: 21.93 MB / 387.7 MB, free: 2.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.070774706080556]