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.0008552/0.0008552, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008112/0.0008112, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8829/0.8829, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.02744/0.02744, allocations: 7.111 MB / 266.3 MB, free: 6.32 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 392.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.886e-05, allocations: 5.234 kB / 392.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.006558/0.006577, allocations: 8.842 MB / 401.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.01068, allocations: 2.791 MB / 404 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.0113, allocations: 43.88 kB / 404.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.01197, allocations: 448.8 kB / 404.5 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.01421, allocations: 1.699 MB / 406.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.01448, allocations: 183.6 kB / 406.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.01644, allocations: 3.002 MB / 409.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007083/0.01715, allocations: 0.8867 MB / 410.3 MB, free: 2.008 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.01837, allocations: 1.636 MB / 411.9 MB, free: 376 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1389/0.1573, allocations: 1.569 MB / 413.5 MB, free: 16.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005519/0.1578, allocations: 271.1 kB / 413.7 MB, free: 16.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.159, allocations: 0.8624 MB / 414.6 MB, free: 16.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008442/0.1598, allocations: 1.541 MB / 416.1 MB, free: 16.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007312/0.1606, allocations: 0.9893 MB / 417.1 MB, free: 16.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003862/0.1644, allocations: 5.745 MB / 422.9 MB, free: 16.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1644, allocations: 3.406 kB / 422.9 MB, free: 16.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1644, allocations: 0 / 422.9 MB, free: 16.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.512e-05/0.1645, allocations: 0 / 422.9 MB, free: 16.25 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.01436/0.1789, allocations: 7.08 MB / 430 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1789, allocations: 9.5 kB / 430 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006792/0.1796, allocations: 0.6464 MB / 430.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.1835, allocations: 1.986 MB / 432.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.1858, allocations: 1.647 MB / 434.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.186, allocations: 185 kB / 434.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.1871, allocations: 244.1 kB / 434.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.2009, allocations: 10.4 MB / 445.1 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.201, allocations: 34.09 kB / 445.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004327/0.2014, allocations: 117.9 kB / 445.2 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001874/0.2033, allocations: 2.149 MB / 447.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.2208, allocations: 10.28 MB / 457.7 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03962/0.2605, allocations: 31.87 MB / 489.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009953/0.2704, allocations: 3.965 MB / 493.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002621/0.273, allocations: 1.576 MB / 495.1 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008081/0.2811, allocations: 5.262 MB / 0.4886 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.2812, allocations: 56.56 kB / 0.4887 GB, free: 12.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=232): time 5.921e-06/0.2812, allocations: 0 / 0.4887 GB, free: 12.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=272): time 0.02019/0.3014, allocations: 13.25 MB / 0.5016 GB, free: 14.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002965/0.3043, allocations: 3.389 MB / 0.5049 GB, free: 11.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.308, allocations: 3.211 MB / 0.508 GB, free: 8.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004156/0.3085, allocations: 76.92 kB / 0.5081 GB, free: 8.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.3096, allocations: 2.486 MB / 0.5105 GB, free: 5.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.3106, allocations: 1.013 MB / 0.5115 GB, free: 4.562 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/0.3118, allocations: 1.067 MB / 0.5126 GB, free: 3.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.3119, allocations: 301.1 kB / 0.5129 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.314, allocations: 1.877 MB / 0.5147 GB, free: 1.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/0.3174, allocations: 4.631 MB / 0.5192 GB, free: 11.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006725/0.3241, allocations: 7.092 MB / 0.5261 GB, free: 2.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.09e-05/0.3242, allocations: 28 kB / 0.5262 GB, free: 2.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01026/0.3345, allocations: 6.973 MB / 0.533 GB, free: 11.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.3345, allocations: 47.98 kB / 0.533 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.723e-05/0.3346, allocations: 96 kB / 0.5331 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008167/0.3354, allocations: 0.5292 MB / 0.5336 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.3381, allocations: 1.228 MB / 0.5348 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.344, allocations: 7.089 MB / 0.5417 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/0.3469, allocations: 295.8 kB / 0.542 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006768/0.3476, allocations: 308 kB / 0.5423 GB, free: 2.137 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 (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.003285/0.3508, allocations: 1.84 MB / 0.5441 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/0.3513, allocations: 310.1 kB / 0.5444 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.3556, allocations: 3.762 MB / 0.5481 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.862e-05/0.3556, allocations: 39.98 kB / 0.5481 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3557, allocations: 8 kB / 0.5481 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.3557, allocations: 11.95 kB / 0.5481 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.37, allocations: 10.08 MB / 0.558 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.37, allocations: 4 kB / 0.558 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008739/0.3709, allocations: 383.4 kB / 0.5584 GB, free: 1.469 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000811/0.3717, allocations: 0.5592 MB / 0.5589 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.3719, allocations: 55.98 kB / 0.559 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006395/0.3783, allocations: 7.819 MB / 0.5666 GB, free: 8.809 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00224/0.3805, allocations: 3.154 MB / 0.5697 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1703/0.5508, allocations: 5.712 MB / 0.5753 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/0.5524, allocations: 0.5534 MB / 0.5758 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004735/0.5529, allocations: 51.92 kB / 0.5758 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008961/0.5538, allocations: 135.9 kB / 0.576 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.5541, allocations: 187.4 kB / 0.5762 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.5543, allocations: 76.45 kB / 0.5762 GB, free: 150.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003308/0.5576, allocations: 1.935 MB / 0.5781 GB, free: 150.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5576, allocations: 0 / 0.5781 GB, free: 150.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004738/0.5623, allocations: 0.9633 MB / 0.5791 GB, free: 150.8 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 (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.007481/0.5698, allocations: 6.405 MB / 0.5853 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006178/0.576, allocations: 4.821 MB / 0.59 GB, free: 147.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.576, allocations: 3.812 kB / 0.59 GB, free: 147.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.5781, allocations: 1.971 MB / 0.5919 GB, free: 146.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.58, allocations: 473.6 kB / 0.5924 GB, free: 146.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04177/0.6218, allocations: 37.96 MB / 0.6295 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/0.6244, allocations: 2.456 MB / 0.6319 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002395/0.6268, allocations: 1.59 MB / 0.6334 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.6283, allocations: 1.652 MB / 0.635 GB, free: 108.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6283, allocations: 0 / 0.635 GB, free: 108.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07843/0.7068, allocations: 66.77 MB / 0.7002 GB, free: 42.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.81, allocations: 7.938 kB / 0.7002 GB, free: 42.47 MB / 474.7 MB " [Timeout remaining time 649] (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: 12.663382047787309] Failed to read output from testmodel.py, exit status != 0: 10.922336366027594 10.92832869 10.762531867 Calling exit ...