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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 100.6 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04806/0.04806, allocations: 9.131 MB / 306.3 MB, free: 3.746 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001979/0.001979, allocations: 63.89 kB / 423.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 51.44 MB / 474.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01175/0.1234, allocations: 10.1 MB / 484.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.1301, allocations: 2.893 MB / 487.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.1319, allocations: 43.88 kB / 487.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.1331, allocations: 421.1 kB / 488.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004379/0.1375, allocations: 1.603 MB / 489.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.1381, allocations: 183.7 kB / 490 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004115/0.1423, allocations: 2.957 MB / 493 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.1439, allocations: 1.066 MB / 494 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.1458, allocations: 1.078 MB / 495.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.1483, allocations: 1.588 MB / 496.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006143/0.1489, allocations: 268 kB / 497 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.1507, allocations: 0.8582 MB / 497.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.1523, allocations: 1.484 MB / 499.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.1546, allocations: 1.856 MB / 0.4894 GB, free: 6.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00797/0.1626, allocations: 5.796 MB / 0.4951 GB, free: 324 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1626, allocations: 0 / 0.4951 GB, free: 324 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1626, allocations: 4 kB / 0.4951 GB, free: 320 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001328/0.1627, allocations: 0 / 0.4951 GB, free: 320 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.02944/0.1922, allocations: 7.06 MB / 0.502 GB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1922, allocations: 8.031 kB / 0.502 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007151/0.1994, allocations: 1.87 MB / 0.5038 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.2027, allocations: 1.698 MB / 0.5055 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.2028, allocations: 184.9 kB / 0.5056 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006241/0.2035, allocations: 251.9 kB / 0.5059 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2329/0.4364, allocations: 10.4 MB / 0.516 GB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.4365, allocations: 35.27 kB / 0.5161 GB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004119/0.437, allocations: 112.3 kB / 0.5162 GB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/0.4405, allocations: 2.153 MB / 0.5183 GB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0219/0.4624, allocations: 10.36 MB / 0.5284 GB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03614/0.4986, allocations: 33.49 MB / 0.5611 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.5141, allocations: 4.315 MB / 0.5653 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/0.5169, allocations: 1.68 MB / 0.567 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.5282, allocations: 8.614 MB / 0.5754 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.5283, allocations: 60.56 kB / 0.5754 GB, free: 5.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=237): time 4.689e-06/0.5283, allocations: 0 / 0.5754 GB, free: 5.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=277): time 0.02842/0.5568, allocations: 12.83 MB / 0.588 GB, free: 8.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004873/0.5617, allocations: 3.519 MB / 0.5914 GB, free: 4.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005957/0.5676, allocations: 3.056 MB / 0.5944 GB, free: 1.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000433/0.5681, allocations: 61.7 kB / 0.5944 GB, free: 1.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.5704, allocations: 2.501 MB / 0.5969 GB, free: 14.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001517/0.5719, allocations: 1.046 MB / 0.5979 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/0.5737, allocations: 1.081 MB / 0.599 GB, free: 12.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5739, allocations: 305.1 kB / 0.5993 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/0.5772, allocations: 1.906 MB / 0.6011 GB, free: 10.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/0.5831, allocations: 4.665 MB / 0.6057 GB, free: 4.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.5937, allocations: 7.161 MB / 0.6127 GB, free: 12.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.5938, allocations: 31.75 kB / 0.6127 GB, free: 11.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01548/0.6093, allocations: 7.049 MB / 0.6196 GB, free: 4.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.6094, allocations: 50.5 kB / 0.6196 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001771/0.6096, allocations: 100.8 kB / 0.6197 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.6111, allocations: 0.552 MB / 0.6203 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/0.6155, allocations: 1.228 MB / 0.6215 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.6258, allocations: 7.358 MB / 0.6286 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/0.6298, allocations: 279.9 kB / 0.6289 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009156/0.6307, allocations: 315.9 kB / 0.6292 GB, free: 10.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 432 * Number of states: 0 () * Number of discrete variables: 15 (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],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 (661): * Single equations (assignments): 655 * 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.0039/0.6347, allocations: 1.858 MB / 0.631 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009897/0.6357, allocations: 309.9 kB / 0.6313 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008512/0.6442, allocations: 3.841 MB / 0.6351 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001225/0.6443, allocations: 39.98 kB / 0.6351 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.779e-05/0.6444, allocations: 12.12 kB / 0.6351 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/0.6444, allocations: 15.95 kB / 0.6351 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02156/0.666, allocations: 10.86 MB / 0.6457 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.666, allocations: 8 kB / 0.6458 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.6677, allocations: 391.4 kB / 0.6461 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.6691, allocations: 0.5488 MB / 0.6467 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/0.6694, allocations: 55.98 kB / 0.6467 GB, free: 8.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.6811, allocations: 8.109 MB / 0.6546 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004241/0.6853, allocations: 3.286 MB / 0.6578 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.6957, allocations: 5.859 MB / 0.6636 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/0.6975, allocations: 0.6395 MB / 0.6642 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008293/0.6984, allocations: 48 kB / 0.6642 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.7001, allocations: 131.8 kB / 0.6644 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004292/0.7005, allocations: 173.6 kB / 0.6645 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.7007, allocations: 75.98 kB / 0.6646 GB, free: 5.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003822/0.7045, allocations: 1.952 MB / 0.6665 GB, free: 3.641 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7045, allocations: 0 / 0.6665 GB, free: 3.641 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005007/0.7095, allocations: 0.9882 MB / 0.6675 GB, free: 2.652 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (208): * Single equations (assignments): 202 * 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.0007749/0.7103, allocations: 190.8 kB / 0.6677 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01109/0.7214, allocations: 5.092 MB / 0.6726 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.7215, allocations: 4 kB / 0.6726 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004288/0.7258, allocations: 2.13 MB / 0.6747 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/0.7296, allocations: 477.2 kB / 0.6752 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.7499, allocations: 9.016 MB / 0.684 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005303/0.7553, allocations: 3.004 MB / 0.6869 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004355/0.7596, allocations: 1.617 MB / 0.6885 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000809/0.7605, allocations: 235.4 kB / 0.6887 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.7605, allocations: 0 / 0.6887 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.332/1.093, allocations: 36.24 MB / 0.7241 GB, free: 178.8 MB / 0.5294 GB " [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.800713772885501]