Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.000745/0.000745, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.00177, 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.001269/0.001269, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.002358, 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.9569/0.9569, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.058, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.03319/0.03319, allocations: 7.189 MB / 251.3 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00336/0.03655, allocations: 2.553 MB / 253.9 MB, free: 5.195 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.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 255.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/1.096e-05, allocations: 9.969 kB / 255.2 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.007547/0.007558, allocations: 11.31 MB / 266.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004389/0.01195, allocations: 3.3 MB / 269.8 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.01245, allocations: 51.88 kB / 269.8 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.01306, allocations: 0.5238 MB / 270.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.01512, allocations: 1.889 MB / 272.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.01539, allocations: 191.5 kB / 272.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1161/0.1315, allocations: 3.436 MB / 275.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.1331, allocations: 1.046 MB / 276.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.1355, allocations: 1.963 MB / 278.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.1379, allocations: 1.755 MB / 280.6 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006342/0.1385, allocations: 320.2 kB / 280.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.14, allocations: 0.9293 MB / 281.9 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.1411, allocations: 1.621 MB / 283.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.1422, allocations: 0.9541 MB / 284.4 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.1454, allocations: 4.133 MB / 288.6 MB, free: 1.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.1454, allocations: 0 / 288.6 MB, free: 1.094 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1454, allocations: 3.5 kB / 288.6 MB, free: 1.094 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.1455, allocations: 0 / 288.6 MB, free: 1.094 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: 1678 * Number of variables: 1678 Notification: Performance of Generate backend data structure: time 0.005795/0.1513, allocations: 5.575 MB / 294.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.1513, allocations: 12.86 kB / 294.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/0.1545, allocations: 1.244 MB / 295.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.156, allocations: 1.296 MB / 296.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1561, allocations: 220.7 kB / 296.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/0.1565, allocations: 289.5 kB / 297.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/0.1614, allocations: 4.763 MB / 302 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/0.1615, allocations: 37.95 kB / 302 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.1617, allocations: 133.1 kB / 302.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001871/0.1636, allocations: 2.266 MB / 304.4 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004619/0.1682, allocations: 2.831 MB / 307.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/0.1882, allocations: 25.29 MB / 332.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.1914, allocations: 1.637 MB / 334.2 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.1918, allocations: 399.3 kB / 334.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00365/0.1954, allocations: 3.565 MB / 338.1 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1955, allocations: 52.56 kB / 338.2 MB, free: 5.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=210): time 3.476e-06/0.1955, allocations: 1.453 kB / 338.2 MB, free: 5.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=250): time 0.01018/0.2057, allocations: 6.352 MB / 344.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001761/0.2074, allocations: 2.382 MB / 346.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.2102, allocations: 2.425 MB / 349.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.2103, allocations: 61.7 kB / 349.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001863/0.2122, allocations: 3.007 MB / 352.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/0.2129, allocations: 0.9501 MB / 353.3 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.2143, allocations: 1.137 MB / 354.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2144, allocations: 354.7 kB / 354.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.2161, allocations: 0.7153 MB / 355.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.2198, allocations: 3.836 MB / 359.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/0.2263, allocations: 5.583 MB / 365 MB, free: 8.574 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.475e-05/0.2263, allocations: 36 kB / 365 MB, free: 8.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.007066/0.2334, allocations: 4.074 MB / 369.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.2334, allocations: 52.78 kB / 369.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.761e-05/0.2335, allocations: 119.2 kB / 369.2 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007534/0.2343, allocations: 446.5 kB / 369.7 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.2366, allocations: 1.443 MB / 371.1 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.2401, allocations: 4.453 MB / 375.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.2418, allocations: 228 kB / 375.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.242, allocations: 300 kB / 376.1 MB, free: 13.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 27 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],chassis.color[3],chassis.color[2],chassis.color[1],idealWheelRear.wheel.colorRim[3],idealWheelRear.wheel.colorRim[2],idealWheelRear.wheel.colorRim[1],idealWheelRear.color[3],idealWheelRear.color[2],idealWheelRear.color[1],idealWheelFront.wheel.colorRim[3],idealWheelFront.wheel.colorRim[2],idealWheelFront.wheel.colorRim[1],idealWheelFront.color[3],idealWheelFront.color[2],idealWheelFront.color[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (726): * Single equations (assignments): 720 * 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 {(6,26,55.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.2432, allocations: 0.5835 MB / 376.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.2435, allocations: 223.8 kB / 376.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.2452, allocations: 1.414 MB / 378.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.716e-05/0.2453, allocations: 24 kB / 378.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2453, allocations: 8 kB / 378.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.2453, allocations: 11.95 kB / 378.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006851/0.2521, allocations: 5.364 MB / 383.7 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.2521, allocations: 8 kB / 383.7 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007491/0.2529, allocations: 347.6 kB / 384.1 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/0.2534, allocations: 389.9 kB / 384.4 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007958/0.2542, allocations: 477.8 kB / 384.9 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/0.2542, allocations: 43.98 kB / 384.9 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003695/0.2579, allocations: 4.705 MB / 389.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001424/0.2594, allocations: 2.208 MB / 391.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.2615, allocations: 2.009 MB / 393.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.2617, allocations: 43.98 kB / 393.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.2622, allocations: 44 kB / 394 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.2624, allocations: 173.5 kB / 394.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.2625, allocations: 55.98 kB / 394.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001627/0.2641, allocations: 1.857 MB / 396 MB, free: 8.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2641, allocations: 4 kB / 396 MB, free: 8.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002475/0.2666, allocations: 1.035 MB / 397.1 MB, free: 7.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 ($STATESET1.x,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,idealWheelFront.phi_roll,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 (183): * Single equations (assignments): 177 * 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 {(6,26,55.6%), (3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002868/0.2669, allocations: 171.9 kB / 397.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.2698, allocations: 2.935 MB / 400.2 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001705/0.27, allocations: 106.8 kB / 400.3 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.2716, allocations: 1.591 MB / 401.9 MB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.2733, allocations: 2.291 MB / 404.2 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.2847, allocations: 8.164 MB / 412.3 MB, free: 7.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.2859, allocations: 1.317 MB / 413.6 MB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.2869, allocations: 429.3 kB / 414.1 MB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006364/0.2875, allocations: 493.2 kB / 414.5 MB, free: 5.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2875, allocations: 0 / 414.5 MB, free: 5.18 MB / 394.7 MB Notification: Performance of Templates: time 0.1498/0.4373, allocations: 32.52 MB / 447.1 MB, free: 107.6 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.378510143607855]