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.001713/0.001713, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001984/0.001984, allocations: 159.1 kB / 23.01 MB, free: 4.945 MB / 14.72 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] 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.04791/0.04791, allocations: 7.128 MB / 266.9 MB, free: 9.703 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/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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 67.89 kB / 393.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1023, allocations: 55.45 MB / 448.8 MB, free: 2.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01165/0.114, allocations: 8.83 MB / 457.7 MB, free: 10.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009174/0.1231, allocations: 2.792 MB / 460.5 MB, free: 7.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.1258, allocations: 43.88 kB / 460.5 MB, free: 7.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.1279, allocations: 441 kB / 460.9 MB, free: 6.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006599/0.1345, allocations: 1.65 MB / 462.6 MB, free: 5.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.1354, allocations: 179.7 kB / 462.8 MB, free: 4.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006145/0.1416, allocations: 2.938 MB / 465.7 MB, free: 1.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.1439, allocations: 0.8752 MB / 466.6 MB, free: 1.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.1466, allocations: 1.113 MB / 467.7 MB, free: 15.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.1504, allocations: 1.638 MB / 469.3 MB, free: 14.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.1515, allocations: 271.9 kB / 469.6 MB, free: 14.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.1542, allocations: 0.7957 MB / 470.4 MB, free: 13.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002909/0.1572, allocations: 1.492 MB / 471.9 MB, free: 11.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003054/0.1602, allocations: 1.316 MB / 473.2 MB, free: 10.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.1703, allocations: 5.769 MB / 479 MB, free: 4.621 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1703, allocations: 0 / 479 MB, free: 4.621 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1703, allocations: 0 / 479 MB, free: 4.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001489/0.1705, allocations: 0 / 479 MB, free: 4.621 MB / 446.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.2769/0.4474, allocations: 7.11 MB / 486.1 MB, free: 67.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4474, allocations: 16.78 kB / 486.1 MB, free: 67.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006586/0.454, allocations: 1.949 MB / 488 MB, free: 67.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.4568, allocations: 1.629 MB / 489.7 MB, free: 67.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.4569, allocations: 186.2 kB / 489.8 MB, free: 67.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004522/0.4573, allocations: 249.2 kB / 490.1 MB, free: 66.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.4728, allocations: 10.4 MB / 0.4888 GB, free: 62.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-05/0.4729, allocations: 36.58 kB / 0.4888 GB, free: 62.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.4732, allocations: 123.6 kB / 0.4889 GB, free: 62.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003341/0.4766, allocations: 2.149 MB / 0.491 GB, free: 62.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/0.4971, allocations: 10.28 MB / 0.501 GB, free: 58.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04254/0.5396, allocations: 30.89 MB / 0.5312 GB, free: 38.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01771/0.5573, allocations: 3.925 MB / 0.535 GB, free: 37.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/0.5597, allocations: 1.601 MB / 0.5366 GB, free: 36.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00778/0.5675, allocations: 4.401 MB / 0.5409 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.5676, allocations: 53.41 kB / 0.541 GB, free: 33.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=237): time 5.1e-06/0.5676, allocations: 0 / 0.541 GB, free: 33.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=277): time 0.02389/0.5914, allocations: 12.76 MB / 0.5534 GB, free: 21.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003282/0.5947, allocations: 3.359 MB / 0.5567 GB, free: 18.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.5976, allocations: 2.635 MB / 0.5593 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002651/0.5978, allocations: 65.7 kB / 0.5593 GB, free: 15.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/0.5987, allocations: 2.535 MB / 0.5618 GB, free: 13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006312/0.5994, allocations: 1.05 MB / 0.5628 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.6004, allocations: 1.096 MB / 0.5639 GB, free: 10.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.6005, allocations: 347.9 kB / 0.5642 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.6029, allocations: 1.9 MB / 0.5661 GB, free: 8.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/0.6062, allocations: 4.657 MB / 0.5706 GB, free: 2.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008877/0.6151, allocations: 7.137 MB / 0.5776 GB, free: 10.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.644e-05/0.6151, allocations: 28 kB / 0.5776 GB, free: 10.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01413/0.6293, allocations: 6.995 MB / 0.5845 GB, free: 3.098 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.6294, allocations: 48 kB / 0.5845 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002283/0.6296, allocations: 92.56 kB / 0.5846 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.6312, allocations: 0.5383 MB / 0.5851 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/0.6357, allocations: 1.232 MB / 0.5863 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.6462, allocations: 7.036 MB / 0.5932 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/0.6501, allocations: 283.9 kB / 0.5935 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009382/0.651, allocations: 316 kB / 0.5938 GB, free: 9.348 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.003386/0.6544, allocations: 1.859 MB / 0.5956 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006054/0.655, allocations: 270.2 kB / 0.5959 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00726/0.6622, allocations: 3.76 MB / 0.5995 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001282/0.6624, allocations: 39.98 kB / 0.5996 GB, free: 3.355 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.6624, allocations: 8 kB / 0.5996 GB, free: 3.348 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/0.6624, allocations: 15.89 kB / 0.5996 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/0.683, allocations: 9.673 MB / 0.609 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.6831, allocations: 7.938 kB / 0.609 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.6848, allocations: 399.1 kB / 0.6094 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.6862, allocations: 0.5521 MB / 0.61 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/0.6865, allocations: 55.98 kB / 0.61 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.6983, allocations: 7.764 MB / 0.6176 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004037/0.7024, allocations: 3.122 MB / 0.6206 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009631/0.712, allocations: 5.781 MB / 0.6263 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.7134, allocations: 0.5098 MB / 0.6268 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.7137, allocations: 55.94 kB / 0.6268 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.715, allocations: 135.8 kB / 0.627 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/0.7153, allocations: 185.5 kB / 0.6271 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.7155, allocations: 75.98 kB / 0.6272 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002458/0.718, allocations: 1.517 MB / 0.6287 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.718, allocations: 0 / 0.6287 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003898/0.7219, allocations: 0.957 MB / 0.6296 GB, free: 3.859 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.0004151/0.7223, allocations: 198.4 kB / 0.6298 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008473/0.7308, allocations: 4.873 MB / 0.6346 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.7308, allocations: 0 / 0.6346 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003513/0.7343, allocations: 2.01 MB / 0.6365 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.7361, allocations: 327.6 kB / 0.6369 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/0.752, allocations: 9.01 MB / 0.6457 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/0.7558, allocations: 2.457 MB / 0.6481 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003885/0.7597, allocations: 1.56 MB / 0.6496 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/0.7604, allocations: 216.4 kB / 0.6498 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.7604, allocations: 4 kB / 0.6498 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of Templates: time 0.06353/0.8239, allocations: 30.07 MB / 0.6792 GB, free: 1.297 MB / 0.545 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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.585532574914396] Failed to read output from testmodel.py, exit status != 0: 0.9989830570993945 1.009308003 0.8358302009999999 Calling exit ...