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.001165/0.001165, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001351/0.001351, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8467/0.8467, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.02657/0.02657, allocations: 7.114 MB / 267.1 MB, free: 6.328 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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.633e-06/1.633e-06, allocations: 0 / 393.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.905e-05, allocations: 5.375 kB / 393.6 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.007319/0.007348, allocations: 8.846 MB / 402.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005306/0.01265, allocations: 2.799 MB / 405.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.0137, allocations: 47.88 kB / 405.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.0145, allocations: 444.9 kB / 405.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.01731, allocations: 1.699 MB / 407.5 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.01769, allocations: 187.5 kB / 407.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.02068, allocations: 2.999 MB / 410.6 MB, free: 2.395 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.02195, allocations: 0.879 MB / 411.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1324/0.1543, allocations: 1.633 MB / 413.2 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.1566, allocations: 1.579 MB / 414.7 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006826/0.1573, allocations: 270.8 kB / 415 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.1588, allocations: 0.8663 MB / 415.9 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.1601, allocations: 1.537 MB / 417.4 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.1617, allocations: 0.9846 MB / 418.4 MB, free: 16.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005691/0.1674, allocations: 5.747 MB / 424.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1674, allocations: 0 / 424.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1674, allocations: 0 / 424.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001529/0.1675, allocations: 3.375 kB / 424.1 MB, free: 15.87 MB / 330.7 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.01633/0.1838, allocations: 7.063 MB / 431.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1839, allocations: 9 kB / 431.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/0.1877, allocations: 1.877 MB / 433.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.1908, allocations: 1.661 MB / 434.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.191, allocations: 184.1 kB / 434.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007362/0.1917, allocations: 252 kB / 435.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.2045, allocations: 10.42 MB / 445.6 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/0.2046, allocations: 40.84 kB / 445.6 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.2048, allocations: 121.8 kB / 445.8 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001754/0.2066, allocations: 2.146 MB / 447.9 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.2239, allocations: 10.36 MB / 458.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03593/0.2599, allocations: 30.86 MB / 489.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00952/0.2694, allocations: 3.921 MB / 493 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.2711, allocations: 1.604 MB / 494.7 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005884/0.277, allocations: 4.401 MB / 499.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.277, allocations: 56.56 kB / 499.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=237): time 4.759e-06/0.2771, allocations: 3.938 kB / 499.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=277): time 0.01752/0.2946, allocations: 12.81 MB / 0.4999 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002889/0.2975, allocations: 3.358 MB / 0.5032 GB, free: 13.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.3002, allocations: 2.666 MB / 0.5058 GB, free: 10.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.3004, allocations: 72.75 kB / 0.5059 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.3017, allocations: 2.518 MB / 0.5083 GB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007137/0.3024, allocations: 1.028 MB / 0.5093 GB, free: 7.199 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.3034, allocations: 1.08 MB / 0.5104 GB, free: 6.113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.3035, allocations: 349.9 kB / 0.5107 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.3056, allocations: 1.912 MB / 0.5126 GB, free: 3.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.3089, allocations: 4.664 MB / 0.5171 GB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/0.3149, allocations: 7.155 MB / 0.5241 GB, free: 5.398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.154e-05/0.315, allocations: 32 kB / 0.5242 GB, free: 5.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.008143/0.3231, allocations: 7 MB / 0.531 GB, free: 14.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.3232, allocations: 51.98 kB / 0.5311 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-05/0.3232, allocations: 92 kB / 0.5311 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007876/0.324, allocations: 0.5408 MB / 0.5317 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.3263, allocations: 1.228 MB / 0.5329 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/0.3326, allocations: 7.034 MB / 0.5397 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.3351, allocations: 279.9 kB / 0.54 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004023/0.3355, allocations: 316 kB / 0.5403 GB, free: 4.621 MB / 442.7 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.002809/0.3383, allocations: 1.86 MB / 0.5421 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.3386, allocations: 270.2 kB / 0.5424 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.3427, allocations: 3.772 MB / 0.5461 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-05/0.3428, allocations: 39.98 kB / 0.5461 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.3428, allocations: 8 kB / 0.5461 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.3428, allocations: 11.95 kB / 0.5461 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.3549, allocations: 9.701 MB / 0.5556 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.3549, allocations: 8 kB / 0.5556 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.3557, allocations: 384.5 kB / 0.556 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007921/0.3565, allocations: 0.5636 MB / 0.5565 GB, free: 3.785 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.3567, allocations: 51.98 kB / 0.5566 GB, free: 3.734 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006522/0.3632, allocations: 7.748 MB / 0.5641 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002158/0.3654, allocations: 3.135 MB / 0.5672 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006093/0.3715, allocations: 5.789 MB / 0.5728 GB, free: 2.609 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009704/0.3724, allocations: 0.5059 MB / 0.5733 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.3727, allocations: 51.98 kB / 0.5734 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.3733, allocations: 127.8 kB / 0.5735 GB, free: 1.926 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.3736, allocations: 196.5 kB / 0.5737 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.3737, allocations: 75.98 kB / 0.5738 GB, free: 1.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001723/0.3754, allocations: 1.545 MB / 0.5753 GB, free: 100 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3754, allocations: 8 kB / 0.5753 GB, free: 92 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.1477/0.5231, allocations: 0.9541 MB / 0.5762 GB, free: 153.5 MB / 474.7 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.0005136/0.5236, allocations: 190.5 kB / 0.5764 GB, free: 153.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006795/0.5304, allocations: 4.885 MB / 0.5812 GB, free: 152.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.5304, allocations: 0.75 kB / 0.5812 GB, free: 152.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.5327, allocations: 2.018 MB / 0.5831 GB, free: 152.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.5341, allocations: 322.3 kB / 0.5835 GB, free: 152.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.5457, allocations: 9.266 MB / 0.5925 GB, free: 148 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.5478, allocations: 2.46 MB / 0.5949 GB, free: 147.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000794/0.5486, allocations: 261.7 kB / 0.5952 GB, free: 147.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5486, allocations: 0 / 0.5952 GB, free: 147.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05772/0.6063, allocations: 87.18 MB / 0.6803 GB, free: 66.42 MB / 474.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: 7.649435140192509] Failed to read output from testmodel.py, exit status != 0: 0.6124733220785856 0.618145025 0.44924025900000003 Calling exit ...