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.0007993/0.0007993, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001016/0.001016, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9921/0.9921, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.03549/0.03549, allocations: 7.182 MB / 268.2 MB, free: 5.922 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.633e-06/1.633e-06, allocations: 0 / 340.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.542e-05, allocations: 2.312 kB / 340.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.007295/0.007321, allocations: 8.939 MB / 349 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.01228, allocations: 2.737 MB / 351.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.01357, allocations: 47.81 kB / 351.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009263/0.0145, allocations: 397.3 kB / 352.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003366/0.01786, allocations: 1.477 MB / 353.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.01827, allocations: 123.7 kB / 353.8 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003212/0.02148, allocations: 2.707 MB / 356.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.02289, allocations: 0.8042 MB / 357.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.02509, allocations: 1.453 MB / 358.8 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005183/0.03027, allocations: 1.422 MB / 360.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005867/0.03086, allocations: 252 kB / 360.4 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.03344, allocations: 0.7528 MB / 361.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.03496, allocations: 1.363 MB / 362.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.03718, allocations: 0.8797 MB / 363.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006612/0.0438, allocations: 3.482 MB / 366.9 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.0438, allocations: 0 / 366.9 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0438, allocations: 3.938 kB / 366.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001477/0.04395, allocations: 0 / 366.9 MB, free: 14.99 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.009456/0.05341, allocations: 4.228 MB / 371.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.05345, allocations: 8.625 kB / 371.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/0.05899, allocations: 1.329 MB / 372.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.06208, allocations: 1.26 MB / 373.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.06224, allocations: 168.3 kB / 373.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/0.06273, allocations: 208.2 kB / 374.1 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006648/0.06937, allocations: 3.727 MB / 377.8 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.364e-05/0.06944, allocations: 27.73 kB / 377.9 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.06965, allocations: 99.84 kB / 377.9 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/0.07133, allocations: 1.853 MB / 379.8 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004572/0.0759, allocations: 2 MB / 381.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02384/0.09974, allocations: 24.86 MB / 406.7 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.1019, allocations: 0.8733 MB / 407.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.1022, allocations: 255 kB / 407.8 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002925/0.1051, allocations: 2.332 MB / 410.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1052, allocations: 46.39 kB / 410.2 MB, free: 2.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 4.418e-06/0.1052, allocations: 0 / 410.2 MB, free: 2.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.1512/0.2564, allocations: 3.347 MB / 413.5 MB, free: 63.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2564, allocations: 67.23 kB / 413.6 MB, free: 63.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.258, allocations: 2.023 MB / 415.6 MB, free: 63.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.258, allocations: 52.45 kB / 415.6 MB, free: 63.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/0.2587, allocations: 2.494 MB / 418.1 MB, free: 61.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.259, allocations: 0.6209 MB / 418.8 MB, free: 61.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006406/0.2596, allocations: 0.9095 MB / 419.7 MB, free: 61.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.196e-05/0.2597, allocations: 0.5212 MB / 420.2 MB, free: 61.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.2601, allocations: 352.2 kB / 420.5 MB, free: 61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.2616, allocations: 3.752 MB / 424.3 MB, free: 56.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.2639, allocations: 4.592 MB / 428.9 MB, free: 52.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-05/0.2639, allocations: 21.59 kB / 428.9 MB, free: 52.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.004029/0.268, allocations: 3.292 MB / 432.2 MB, free: 51.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.268, allocations: 40.88 kB / 432.2 MB, free: 51.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.785e-05/0.2681, allocations: 78.97 kB / 432.3 MB, free: 51.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.2687, allocations: 349.6 kB / 432.7 MB, free: 51.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.27, allocations: 0.8712 MB / 433.5 MB, free: 51.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.2727, allocations: 5.037 MB / 438.6 MB, free: 47.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.2739, allocations: 167.7 kB / 438.7 MB, free: 47.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.2741, allocations: 219 kB / 438.9 MB, free: 47.93 MB / 330.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.000758/0.2748, allocations: 478.3 kB / 439.4 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.275, allocations: 242.5 kB / 439.6 MB, free: 47.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.2761, allocations: 1.044 MB / 440.7 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/0.2762, allocations: 21.11 kB / 440.7 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2762, allocations: 3.844 kB / 440.7 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.2762, allocations: 15.23 kB / 440.7 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.2799, allocations: 3.186 MB / 443.9 MB, free: 45.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.2799, allocations: 7.797 kB / 443.9 MB, free: 45.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.2803, allocations: 179.9 kB / 444.1 MB, free: 45.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.2806, allocations: 208.4 kB / 444.3 MB, free: 45.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.2807, allocations: 32.81 kB / 444.3 MB, free: 45.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.2823, allocations: 4.209 MB / 448.5 MB, free: 41.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2823, allocations: 4 kB / 448.5 MB, free: 41.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.2836, allocations: 1.508 MB / 450.1 MB, free: 39.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.2838, allocations: 182 kB / 450.2 MB, free: 39.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.2839, allocations: 30.5 kB / 450.3 MB, free: 39.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.2842, allocations: 31.75 kB / 450.3 MB, free: 39.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2843, allocations: 101.5 kB / 450.4 MB, free: 39.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.2843, allocations: 39.66 kB / 450.4 MB, free: 39.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005354/0.2849, allocations: 0.8327 MB / 451.3 MB, free: 38.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2849, allocations: 0 / 451.3 MB, free: 38.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001774/0.2867, allocations: 0.7164 MB / 452 MB, free: 38.24 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.0002062/0.2869, allocations: 154.9 kB / 452.1 MB, free: 38.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.2888, allocations: 2.222 MB / 454.4 MB, free: 36.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2888, allocations: 0 / 454.4 MB, free: 36.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.2894, allocations: 0.8558 MB / 455.2 MB, free: 35.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.2901, allocations: 292.4 kB / 455.5 MB, free: 35.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.2952, allocations: 5.874 MB / 461.4 MB, free: 29.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.2959, allocations: 0.998 MB / 462.4 MB, free: 28.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006344/0.2965, allocations: 313.2 kB / 462.7 MB, free: 28.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.2969, allocations: 402.1 kB / 463.1 MB, free: 27.63 MB / 330.7 MB Notification: Performance of SimCode: time 1.173e-06/0.2969, allocations: 4 kB / 463.1 MB, free: 27.62 MB / 330.7 MB Notification: Performance of Templates: time 0.02743/0.3244, allocations: 24.98 MB / 488 MB, free: 2.977 MB / 330.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.697468088939786]