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.001732/0.001732, allocations: 110 kB / 18.93 MB, free: 2.945 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.002105/0.002105, allocations: 186 kB / 22.23 MB, free: 5.164 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.531/1.531, allocations: 225.6 MB / 251 MB, free: 13 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.0497/0.0497, allocations: 9.26 MB / 315.5 MB, free: 15.58 MB / 254.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.002056/0.002056, allocations: 71.88 kB / 439.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1194, allocations: 54.3 MB / 494.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01287/0.1323, allocations: 10.18 MB / 0.4924 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006609/0.1389, allocations: 2.909 MB / 0.4953 GB, free: 7.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.1407, allocations: 47.81 kB / 0.4953 GB, free: 7.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1422, allocations: 444.9 kB / 0.4957 GB, free: 7.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005438/0.1477, allocations: 1.657 MB / 0.4973 GB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.1485, allocations: 179.7 kB / 0.4975 GB, free: 5.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005427/0.154, allocations: 2.975 MB / 0.5004 GB, free: 2.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.1559, allocations: 0.8791 MB / 0.5013 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.1582, allocations: 1.105 MB / 0.5024 GB, free: 208 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.1613, allocations: 1.724 MB / 0.504 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.1624, allocations: 268 kB / 0.5043 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.1651, allocations: 0.9088 MB / 0.5052 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003605/0.1687, allocations: 1.519 MB / 0.5067 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004216/0.1729, allocations: 1.86 MB / 0.5085 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009855/0.1828, allocations: 5.796 MB / 0.5141 GB, free: 4.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.1828, allocations: 3.984 kB / 0.5141 GB, free: 4.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1828, allocations: 0 / 0.5141 GB, free: 4.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002612/0.1831, allocations: 0 / 0.5141 GB, free: 4.082 MB / 382.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.303/0.4861, allocations: 6.972 MB / 0.521 GB, free: 31.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4862, allocations: 10.41 kB / 0.521 GB, free: 31.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/0.5006, allocations: 1.86 MB / 0.5228 GB, free: 31.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00719/0.5078, allocations: 1.644 MB / 0.5244 GB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/0.5081, allocations: 186.1 kB / 0.5246 GB, free: 31.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.5096, allocations: 247 kB / 0.5248 GB, free: 31.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0347/0.5443, allocations: 10.41 MB / 0.535 GB, free: 26.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.5444, allocations: 33.48 kB / 0.535 GB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006064/0.545, allocations: 122.4 kB / 0.5351 GB, free: 26.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005588/0.5506, allocations: 2.148 MB / 0.5372 GB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0358/0.5864, allocations: 10.37 MB / 0.5473 GB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05343/0.6398, allocations: 33.45 MB / 0.58 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/0.6571, allocations: 3.745 MB / 0.5837 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.6604, allocations: 1.604 MB / 0.5852 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.6711, allocations: 4.802 MB / 0.5899 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.6712, allocations: 56.83 kB / 0.59 GB, free: 5.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=237): time 4.388e-06/0.6712, allocations: 0 / 0.59 GB, free: 5.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=277): time 0.03/0.7012, allocations: 12.58 MB / 0.6023 GB, free: 9.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004988/0.7062, allocations: 3.428 MB / 0.6056 GB, free: 5.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005307/0.7115, allocations: 3.048 MB / 0.6086 GB, free: 2.645 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003724/0.7119, allocations: 69.69 kB / 0.6086 GB, free: 2.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002026/0.7139, allocations: 2.501 MB / 0.6111 GB, free: 44 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.7151, allocations: 1.046 MB / 0.6121 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/0.7166, allocations: 1.085 MB / 0.6132 GB, free: 13.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7168, allocations: 305.2 kB / 0.6135 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/0.7203, allocations: 1.904 MB / 0.6153 GB, free: 11.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005926/0.7263, allocations: 4.665 MB / 0.6199 GB, free: 5.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/0.7406, allocations: 7.162 MB / 0.6269 GB, free: 13.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/0.7408, allocations: 28 kB / 0.6269 GB, free: 13.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02144/0.7622, allocations: 7.036 MB / 0.6338 GB, free: 6.117 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.7623, allocations: 50.81 kB / 0.6338 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/0.7625, allocations: 92.56 kB / 0.6339 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.7644, allocations: 0.553 MB / 0.6344 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/0.7706, allocations: 1.228 MB / 0.6356 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.785, allocations: 7.145 MB / 0.6426 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006284/0.7913, allocations: 276.7 kB / 0.6429 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/0.7926, allocations: 323.9 kB / 0.6432 GB, free: 12.22 MB / 478.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.005159/0.7978, allocations: 1.85 MB / 0.645 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.7989, allocations: 306 kB / 0.6453 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.8099, allocations: 3.826 MB / 0.649 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001391/0.81, allocations: 43.92 kB / 0.6491 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.007e-05/0.81, allocations: 8 kB / 0.6491 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.565e-05/0.8101, allocations: 12.58 kB / 0.6491 GB, free: 6.102 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/0.8312, allocations: 10.7 MB / 0.6595 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/0.8312, allocations: 7.938 kB / 0.6595 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.8329, allocations: 383.5 kB / 0.6599 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.8343, allocations: 0.5525 MB / 0.6604 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.8345, allocations: 59.98 kB / 0.6605 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.8459, allocations: 7.897 MB / 0.6682 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004259/0.8502, allocations: 3.179 MB / 0.6713 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.8611, allocations: 5.843 MB / 0.677 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/0.8628, allocations: 0.5604 MB / 0.6776 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/0.8635, allocations: 55.97 kB / 0.6776 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.8651, allocations: 123.9 kB / 0.6777 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004945/0.8656, allocations: 189.5 kB / 0.6779 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/0.8658, allocations: 80.05 kB / 0.678 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003852/0.8697, allocations: 1.944 MB / 0.6799 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8697, allocations: 4 kB / 0.6799 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005779/0.8754, allocations: 0.9883 MB / 0.6809 GB, free: 4.805 MB / 0.4981 GB 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.0008134/0.8763, allocations: 194 kB / 0.681 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01039/0.8866, allocations: 4.895 MB / 0.6858 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.8867, allocations: 4.062 kB / 0.6858 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004035/0.8907, allocations: 2.008 MB / 0.6878 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.8938, allocations: 467.4 kB / 0.6882 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.9114, allocations: 9.107 MB / 0.6971 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004191/0.9156, allocations: 3 MB / 0.7001 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003971/0.9195, allocations: 1.617 MB / 0.7016 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/0.9203, allocations: 239.3 kB / 0.7019 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.402e-06/0.9203, allocations: 0 / 0.7019 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.2881/1.208, allocations: 40.5 MB / 0.7414 GB, free: 163.7 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: 7.455197872593999] Failed to read output from testmodel.py, exit status != 0: 1.2178323771804571 1.228031793 1.042707867 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f37d73c17b0>