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.002004/0.002004, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.00319/0.00319, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.05026/0.05026, allocations: 7.179 MB / 266.7 MB, free: 6.066 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.503e-06/1.503e-06, allocations: 3.938 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.91e-05, allocations: 2.312 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.008935/0.008964, allocations: 10.36 MB / 348.5 MB, free: 152 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008539/0.0175, allocations: 3.062 MB / 351.5 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.01953, allocations: 51.88 kB / 351.6 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.02096, allocations: 0.5003 MB / 352.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005659/0.02662, allocations: 1.913 MB / 354 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.02735, allocations: 195.5 kB / 354.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005981/0.03333, allocations: 3.434 MB / 357.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.03555, allocations: 1.032 MB / 358.7 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.03882, allocations: 1.89 MB / 360.6 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.04222, allocations: 1.823 MB / 362.4 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006433/0.04287, allocations: 324 kB / 362.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.04488, allocations: 0.9166 MB / 363.6 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.04703, allocations: 1.807 MB / 365.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.04874, allocations: 1.156 MB / 366.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.059, allocations: 6.828 MB / 373.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.05901, allocations: 4 kB / 373.4 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.05901, allocations: 0 / 373.4 MB, free: 7.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002663/0.05927, allocations: 0 / 373.4 MB, free: 7.125 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: 1678 * Number of variables: 1678 Notification: Performance of Generate backend data structure: time 0.0177/0.07697, allocations: 5.354 MB / 378.8 MB, free: 1.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/0.07704, allocations: 8.625 kB / 378.8 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009445/0.08649, allocations: 2.592 MB / 381.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.09127, allocations: 1.718 MB / 383.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/0.09154, allocations: 225.8 kB / 383.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008658/0.0924, allocations: 284.1 kB / 383.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.1127, allocations: 11.07 MB / 394.6 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.1128, allocations: 31.95 kB / 394.7 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/0.1132, allocations: 143.7 kB / 394.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004603/0.1178, allocations: 2.585 MB / 397.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/0.1401, allocations: 9.977 MB / 407.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2224/0.3624, allocations: 31.25 MB / 438.6 MB, free: 52.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006953/0.3694, allocations: 2.959 MB / 441.6 MB, free: 51.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.3711, allocations: 1.195 MB / 442.8 MB, free: 50.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007142/0.3783, allocations: 4.313 MB / 447.1 MB, free: 46.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3783, allocations: 54.09 kB / 447.1 MB, free: 46.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=210): time 4.729e-06/0.3783, allocations: 0 / 447.1 MB, free: 46.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.02198/0.4003, allocations: 11.38 MB / 458.5 MB, free: 35.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003409/0.4037, allocations: 3.372 MB / 461.9 MB, free: 32.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/0.4072, allocations: 3.069 MB / 465 MB, free: 29.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004251/0.4077, allocations: 57.7 kB / 465 MB, free: 29.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.409, allocations: 3.092 MB / 468.1 MB, free: 26.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008156/0.4098, allocations: 0.9431 MB / 469.1 MB, free: 25.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.4111, allocations: 1.195 MB / 470.3 MB, free: 24.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.4112, allocations: 352.2 kB / 470.6 MB, free: 23.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.4136, allocations: 1.921 MB / 472.5 MB, free: 21.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/0.4173, allocations: 5.139 MB / 477.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/0.4244, allocations: 7.653 MB / 485.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.161e-05/0.4244, allocations: 32 kB / 485.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=789) (initialization): time 0.01308/0.4375, allocations: 7.695 MB / 493 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.4376, allocations: 52 kB / 493.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/0.4378, allocations: 115 kB / 493.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.4395, allocations: 0.6072 MB / 493.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004989/0.4445, allocations: 1.33 MB / 495.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.4556, allocations: 7.114 MB / 0.4905 GB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/0.46, allocations: 307.9 kB / 0.4908 GB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009256/0.4609, allocations: 344 kB / 0.4911 GB, free: 4.109 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * 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 (725): * Single equations (assignments): 719 * 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.004374/0.4653, allocations: 2.175 MB / 0.4932 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009864/0.4663, allocations: 358.1 kB / 0.4936 GB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006976/0.4733, allocations: 3.403 MB / 0.4969 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001268/0.4734, allocations: 39.92 kB / 0.4969 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.4734, allocations: 8 kB / 0.4969 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.4734, allocations: 15.95 kB / 0.497 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0224/0.4958, allocations: 9.948 MB / 0.5067 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.4959, allocations: 4.594 kB / 0.5067 GB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.4973, allocations: 339.5 kB / 0.507 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.4992, allocations: 0.6216 MB / 0.5076 GB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.4993, allocations: 52.11 kB / 0.5077 GB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.5119, allocations: 7.79 MB / 0.5153 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004661/0.5166, allocations: 3.146 MB / 0.5183 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.5267, allocations: 5.251 MB / 0.5235 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.5284, allocations: 0.4901 MB / 0.5239 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000351/0.5287, allocations: 47.98 kB / 0.524 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.5299, allocations: 105.8 kB / 0.5241 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/0.5303, allocations: 173.5 kB / 0.5243 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/0.5305, allocations: 71.98 kB / 0.5243 GB, free: 1.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003495/0.534, allocations: 1.745 MB / 0.526 GB, free: 15.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.534, allocations: 0 / 0.526 GB, free: 15.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005529/0.5395, allocations: 1.041 MB / 0.527 GB, free: 14.7 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.0005494/0.5401, allocations: 194.5 kB / 0.5272 GB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01018/0.5502, allocations: 4.866 MB / 0.532 GB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.5502, allocations: 0 / 0.532 GB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003865/0.5541, allocations: 1.832 MB / 0.5338 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.5564, allocations: 364.5 kB / 0.5341 GB, free: 7.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.5762, allocations: 9.833 MB / 0.5437 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00452/0.5807, allocations: 2.884 MB / 0.5465 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004348/0.585, allocations: 1.597 MB / 0.5481 GB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/0.5857, allocations: 228.5 kB / 0.5483 GB, free: 8.703 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.5857, allocations: 3.938 kB / 0.5483 GB, free: 8.699 MB / 410.7 MB Notification: Performance of Templates: time 0.2061/0.7918, allocations: 29.46 MB / 0.5771 GB, free: 130 MB / 410.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.765232371049933]