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.001512/0.001512, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001928/0.001928, allocations: 220 kB / 22.26 MB, free: 5.125 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.677/1.677, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.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.05523/0.05523, allocations: 9.236 MB / 321.7 MB, free: 10.02 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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine",fmuType="me",version="2.0",platforms={"static"}) [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.002154/0.002154, allocations: 63.91 kB / 447.7 MB, free: 15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.149, allocations: 55.47 MB / 0.4914 GB, free: 7.453 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01428/0.1632, allocations: 10.16 MB / 0.5014 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007411/0.1707, allocations: 2.947 MB / 0.5042 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.1727, allocations: 43.88 kB / 0.5043 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.1742, allocations: 448.9 kB / 0.5047 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.1792, allocations: 1.65 MB / 0.5063 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.1799, allocations: 179.7 kB / 0.5065 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.185, allocations: 2.938 MB / 0.5094 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.1872, allocations: 0.883 MB / 0.5102 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.1895, allocations: 1.109 MB / 0.5113 GB, free: 3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.1926, allocations: 1.716 MB / 0.513 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007973/0.1934, allocations: 268 kB / 0.5132 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.1958, allocations: 0.9206 MB / 0.5141 GB, free: 96 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3433/0.5391, allocations: 1.491 MB / 0.5156 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004321/0.5434, allocations: 1.841 MB / 0.5174 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.5562, allocations: 5.763 MB / 0.523 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.532e-05/0.5562, allocations: 3.125 kB / 0.523 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.23e-06/0.5562, allocations: 0 / 0.523 GB, free: 8.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003575/0.5566, allocations: 0 / 0.523 GB, free: 8.5 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.03418/0.5908, allocations: 7.064 MB / 0.5299 GB, free: 6.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.5908, allocations: 9.219 kB / 0.5299 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001825/0.5926, allocations: 0.6384 MB / 0.5305 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008436/0.6011, allocations: 1.88 MB / 0.5324 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.6064, allocations: 1.667 MB / 0.534 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.6067, allocations: 185.2 kB / 0.5342 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.608, allocations: 246.9 kB / 0.5344 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02557/0.6336, allocations: 10.41 MB / 0.5446 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/0.6337, allocations: 38.7 kB / 0.5446 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008896/0.6346, allocations: 111.4 kB / 0.5447 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004378/0.639, allocations: 2.155 MB / 0.5468 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02899/0.668, allocations: 10.35 MB / 0.5569 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06919/0.7372, allocations: 33.45 MB / 0.5896 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01988/0.7571, allocations: 3.806 MB / 0.5933 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003621/0.7607, allocations: 1.572 MB / 0.5949 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01502/0.7757, allocations: 5.595 MB / 0.6003 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.7758, allocations: 56.56 kB / 0.6004 GB, free: 12.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=232): time 5.08e-06/0.7758, allocations: 3.938 kB / 0.6004 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=272): time 0.0385/0.8143, allocations: 12.97 MB / 0.613 GB, free: 15.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005605/0.8199, allocations: 3.416 MB / 0.6164 GB, free: 11.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006488/0.8264, allocations: 3.111 MB / 0.6194 GB, free: 8.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007578/0.8271, allocations: 65.7 kB / 0.6195 GB, free: 8.691 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/0.8294, allocations: 2.503 MB / 0.6219 GB, free: 6.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001499/0.8309, allocations: 1.034 MB / 0.6229 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/0.8329, allocations: 1.079 MB / 0.624 GB, free: 4.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.833, allocations: 305.1 kB / 0.6243 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/0.8366, allocations: 1.888 MB / 0.6261 GB, free: 1.898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006817/0.8434, allocations: 4.633 MB / 0.6307 GB, free: 11.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.8544, allocations: 7.104 MB / 0.6376 GB, free: 3.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.991e-05/0.8545, allocations: 31.94 kB / 0.6376 GB, free: 3.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01609/0.8706, allocations: 6.988 MB / 0.6444 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.42e-05/0.8707, allocations: 44 kB / 0.6445 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/0.8708, allocations: 103.9 kB / 0.6446 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.8724, allocations: 0.5369 MB / 0.6451 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/0.8772, allocations: 1.22 MB / 0.6463 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.888, allocations: 7.162 MB / 0.6533 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/0.8925, allocations: 271.9 kB / 0.6536 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/0.8936, allocations: 319 kB / 0.6539 GB, free: 3.16 MB / 494.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 (656): * Single equations (assignments): 650 * 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.005659/0.8993, allocations: 1.854 MB / 0.6557 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/0.9, allocations: 308.8 kB / 0.656 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007954/0.908, allocations: 3.772 MB / 0.6596 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001294/0.9081, allocations: 43.97 kB / 0.6597 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.9081, allocations: 8 kB / 0.6597 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/0.9082, allocations: 15.95 kB / 0.6597 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/0.9324, allocations: 10.45 MB / 0.6699 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.9324, allocations: 8.094 kB / 0.6699 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.9341, allocations: 379.5 kB / 0.6703 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.9357, allocations: 0.5502 MB / 0.6708 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.9359, allocations: 55.98 kB / 0.6709 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.9478, allocations: 7.898 MB / 0.6786 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004448/0.9523, allocations: 3.185 MB / 0.6817 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.9634, allocations: 5.752 MB / 0.6873 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002592/0.966, allocations: 0.5577 MB / 0.6879 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000804/0.9668, allocations: 51.75 kB / 0.6879 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.9683, allocations: 123.1 kB / 0.688 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/0.9689, allocations: 189.5 kB / 0.6882 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/0.9692, allocations: 75.98 kB / 0.6883 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00479/0.974, allocations: 1.98 MB / 0.6902 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.61e-07/0.974, allocations: 4 kB / 0.6902 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005832/0.9798, allocations: 0.957 MB / 0.6912 GB, free: 12.24 MB / 0.5294 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 (203): * Single equations (assignments): 197 * 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.01169/0.9915, allocations: 6.442 MB / 0.6974 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.002, allocations: 4.831 MB / 0.7022 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.002, allocations: 0 / 0.7022 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.006, allocations: 1.994 MB / 0.7041 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.009, allocations: 472.8 kB / 0.7046 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3622/1.371, allocations: 38.42 MB / 0.7421 GB, free: 168.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003732/1.375, allocations: 3.006 MB / 0.745 GB, free: 167.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004279/1.379, allocations: 1.591 MB / 0.7466 GB, free: 167.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002424/1.382, allocations: 1.653 MB / 0.7482 GB, free: 166.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.362e-06/1.382, allocations: 2.078 kB / 0.7482 GB, free: 166.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1386/1.52, allocations: 70.6 MB / 0.8171 GB, free: 101.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.95/23.47, allocations: 4 kB / 0.8171 GB, free: 101.8 MB / 0.545 GB " [Timeout remaining time 636] (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 & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.73480990600001] Failed to read output from testmodel.py, exit status != 0: 23.629690581998148 23.649440186 23.088854173 Calling exit ...