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.001004/0.001004, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001039/0.001039, allocations: 177 kB / 23.36 MB, free: 1.137 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 0.9039/0.9039, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.04625/0.04625, allocations: 7.186 MB / 267.4 MB, free: 5.957 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.272e-06/1.272e-06, allocations: 0 / 286 MB, free: 3.367 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.759e-05, allocations: 5.969 kB / 286 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.1083/0.1083, allocations: 11.19 MB / 297.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.1135, allocations: 3.273 MB / 300.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.1144, allocations: 50.72 kB / 300.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007735/0.1152, allocations: 0.5021 MB / 301.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.1177, allocations: 1.923 MB / 303 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.1181, allocations: 186.7 kB / 303.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.1204, allocations: 3.437 MB / 306.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.1212, allocations: 1.064 MB / 307.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.1225, allocations: 1.893 MB / 309.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.1236, allocations: 1.762 MB / 311.3 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.1239, allocations: 320 kB / 311.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.1247, allocations: 0.9056 MB / 312.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006415/0.1253, allocations: 1.815 MB / 314.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006184/0.1259, allocations: 1.167 MB / 315.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.1283, allocations: 4.416 MB / 319.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1283, allocations: 0 / 319.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1283, allocations: 4 kB / 319.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.644e-05/0.1284, allocations: 0 / 319.9 MB, free: 14.17 MB / 282.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.004966/0.1333, allocations: 4.711 MB / 324.6 MB, free: 9.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1334, allocations: 8.625 kB / 324.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.1365, allocations: 1.245 MB / 325.9 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.1379, allocations: 1.307 MB / 327.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.1381, allocations: 217.7 kB / 327.4 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.1384, allocations: 292.1 kB / 327.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.1431, allocations: 4.76 MB / 332.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.261e-05/0.1432, allocations: 31.95 kB / 332.5 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.1435, allocations: 143.7 kB / 332.6 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.1454, allocations: 2.383 MB / 335 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004033/0.1495, allocations: 2.826 MB / 337.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/0.1682, allocations: 25.3 MB / 363.1 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.1713, allocations: 1.685 MB / 364.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.1717, allocations: 395.9 kB / 365.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003756/0.1755, allocations: 3.572 MB / 368.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.1755, allocations: 60.5 kB / 368.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=210): time 3.467e-06/0.1755, allocations: 0 / 368.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.009974/0.1855, allocations: 6.094 MB / 374.9 MB, free: 5.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001871/0.1874, allocations: 2.374 MB / 377.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.1891, allocations: 2.426 MB / 379.7 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.182e-05/0.1891, allocations: 65.64 kB / 379.8 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.1902, allocations: 3.006 MB / 382.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006611/0.1908, allocations: 0.9531 MB / 383.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008725/0.1917, allocations: 1.132 MB / 384.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.1918, allocations: 357.8 kB / 385.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.1929, allocations: 0.7193 MB / 386 MB, free: 10.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.1953, allocations: 3.835 MB / 389.8 MB, free: 4.996 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/0.1989, allocations: 5.183 MB / 395 MB, free: 14.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.131e-05/0.1989, allocations: 32 kB / 395 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.004005/0.2029, allocations: 4.082 MB / 399.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.203, allocations: 52.19 kB / 399.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.464e-05/0.203, allocations: 116 kB / 399.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.2037, allocations: 428.2 kB / 399.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.2056, allocations: 1.283 MB / 401 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.2091, allocations: 4.457 MB / 405.4 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.2106, allocations: 228 kB / 405.6 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/0.2108, allocations: 296 kB / 405.9 MB, free: 3.023 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.0009994/0.2118, allocations: 0.5838 MB / 406.5 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.2121, allocations: 227.7 kB / 406.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.2138, allocations: 1.413 MB / 408.2 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/0.2138, allocations: 28 kB / 408.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2138, allocations: 8 kB / 408.2 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.2138, allocations: 15.89 kB / 408.2 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.2205, allocations: 5.363 MB / 413.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2205, allocations: 4 kB / 413.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.2211, allocations: 299.6 kB / 413.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007472/0.2219, allocations: 481.5 kB / 414.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/0.2219, allocations: 47.98 kB / 414.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/0.2256, allocations: 4.667 MB / 419 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001337/0.2269, allocations: 2.217 MB / 421.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.2293, allocations: 1.979 MB / 423.2 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/0.2297, allocations: 381.9 kB / 423.6 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.2299, allocations: 51.88 kB / 423.7 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.2304, allocations: 43.98 kB / 423.7 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.2306, allocations: 173.5 kB / 423.9 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.013e-05/0.2306, allocations: 63.97 kB / 423.9 MB, free: 328 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007191/0.2314, allocations: 0.8679 MB / 424.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2314, allocations: 0 / 424.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00258/0.2339, allocations: 1.031 MB / 425.8 MB, free: 14.41 MB / 394.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.0002807/0.2342, allocations: 172 kB / 426 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002807/0.237, allocations: 2.842 MB / 428.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001387/0.2372, allocations: 88.16 kB / 428.9 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.2384, allocations: 1.073 MB / 430 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.2393, allocations: 357.5 kB / 430.4 MB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/0.2476, allocations: 8.2 MB / 438.6 MB, free: 1.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.2487, allocations: 1.315 MB / 439.9 MB, free: 144 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.09634/0.345, allocations: 439 kB / 440.3 MB, free: 120.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/0.3457, allocations: 497.1 kB / 440.8 MB, free: 120.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3457, allocations: 0 / 440.8 MB, free: 120.6 MB / 394.7 MB Notification: Performance of Templates: time 0.0431/0.3888, allocations: 32.41 MB / 473.2 MB, free: 105 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.596135411877185]