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.001375/0.001375, allocations: 107.9 kB / 16.45 MB, free: 6.453 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.001523/0.001523, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 8.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.05719/0.05719, allocations: 9.223 MB / 318.1 MB, free: 11.23 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.001894/0.001894, allocations: 67.89 kB / 442.5 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1042, allocations: 55.43 MB / 498 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01224/0.1164, allocations: 10.13 MB / 0.4962 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.123, allocations: 2.936 MB / 0.4991 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.1244, allocations: 47.81 kB / 0.4991 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1255, allocations: 445 kB / 0.4995 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.1297, allocations: 1.638 MB / 0.5011 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.1305, allocations: 183.7 kB / 0.5013 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005162/0.1356, allocations: 2.946 MB / 0.5042 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.1373, allocations: 0.9059 MB / 0.5051 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.1397, allocations: 1.105 MB / 0.5061 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.1423, allocations: 1.716 MB / 0.5078 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005984/0.1429, allocations: 268 kB / 0.5081 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.1447, allocations: 0.9089 MB / 0.509 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.1463, allocations: 1.499 MB / 0.5104 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.1486, allocations: 1.848 MB / 0.5122 GB, free: 372 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.231/0.3796, allocations: 5.757 MB / 0.5179 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3796, allocations: 0 / 0.5179 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3796, allocations: 0 / 0.5179 GB, free: 9.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002563/0.3798, allocations: 0.75 kB / 0.5179 GB, free: 9.434 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.03225/0.4121, allocations: 7.14 MB / 0.5248 GB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4121, allocations: 9.031 kB / 0.5248 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001827/0.414, allocations: 0.637 MB / 0.5255 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007823/0.4218, allocations: 1.882 MB / 0.5273 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005867/0.4277, allocations: 1.729 MB / 0.529 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.428, allocations: 184.7 kB / 0.5292 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.4296, allocations: 245 kB / 0.5294 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/0.4519, allocations: 10.41 MB / 0.5396 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.452, allocations: 39.5 kB / 0.5396 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004402/0.4525, allocations: 114.3 kB / 0.5397 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003166/0.4556, allocations: 2.152 MB / 0.5418 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02363/0.4793, allocations: 10.36 MB / 0.5519 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05869/0.5379, allocations: 33.47 MB / 0.5846 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/0.5572, allocations: 4.324 MB / 0.5888 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.5605, allocations: 1.584 MB / 0.5904 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/0.5764, allocations: 9.402 MB / 0.5996 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.5765, allocations: 57.48 kB / 0.5996 GB, free: 9.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=232): time 7.534e-06/0.5765, allocations: 0 / 0.5996 GB, free: 9.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=272): time 0.03419/0.6107, allocations: 13.36 MB / 0.6127 GB, free: 12.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004797/0.6155, allocations: 3.524 MB / 0.6161 GB, free: 8.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/0.6206, allocations: 3.11 MB / 0.6191 GB, free: 5.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004063/0.621, allocations: 68.36 kB / 0.6192 GB, free: 5.359 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.623, allocations: 2.503 MB / 0.6216 GB, free: 2.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.6243, allocations: 1.036 MB / 0.6227 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.626, allocations: 1.077 MB / 0.6237 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6261, allocations: 302.6 kB / 0.624 GB, free: 476 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003455/0.6295, allocations: 1.885 MB / 0.6258 GB, free: 14.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006265/0.6358, allocations: 4.643 MB / 0.6304 GB, free: 8.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.6459, allocations: 7.093 MB / 0.6373 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.317e-05/0.646, allocations: 35.23 kB / 0.6373 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.0144/0.6604, allocations: 6.991 MB / 0.6442 GB, free: 9.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/0.6605, allocations: 47.12 kB / 0.6442 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.6606, allocations: 97 kB / 0.6443 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.662, allocations: 0.5454 MB / 0.6448 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/0.6667, allocations: 1.217 MB / 0.646 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.6773, allocations: 7.375 MB / 0.6532 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/0.6816, allocations: 272.9 kB / 0.6535 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/0.6827, allocations: 318.6 kB / 0.6538 GB, free: 15.59 MB / 0.4981 GB 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.004458/0.6872, allocations: 1.841 MB / 0.6556 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007106/0.6879, allocations: 313.9 kB / 0.6559 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00744/0.6953, allocations: 3.772 MB / 0.6596 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001328/0.6954, allocations: 43.97 kB / 0.6596 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.6955, allocations: 4 kB / 0.6596 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/0.6955, allocations: 12.33 kB / 0.6596 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/0.7151, allocations: 10.6 MB / 0.67 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.7152, allocations: 4 kB / 0.67 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.7167, allocations: 387.4 kB / 0.6703 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.7182, allocations: 0.5564 MB / 0.6709 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.7184, allocations: 51.98 kB / 0.6709 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.7297, allocations: 8.103 MB / 0.6788 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004144/0.7339, allocations: 3.281 MB / 0.6821 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.7441, allocations: 5.766 MB / 0.6877 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.7457, allocations: 0.6278 MB / 0.6883 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/0.7462, allocations: 51.94 kB / 0.6883 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.7476, allocations: 130.5 kB / 0.6885 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/0.7481, allocations: 169.6 kB / 0.6886 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.7482, allocations: 75.98 kB / 0.6887 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003531/0.7518, allocations: 1.987 MB / 0.6906 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7518, allocations: 4 kB / 0.6907 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004608/0.7564, allocations: 0.9601 MB / 0.6916 GB, free: 8.062 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.01052/0.7669, allocations: 6.433 MB / 0.6979 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009409/0.7763, allocations: 4.833 MB / 0.7026 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.7763, allocations: 192 / 0.7026 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.7802, allocations: 1.999 MB / 0.7045 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.7829, allocations: 478.5 kB / 0.705 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.273/1.056, allocations: 38.33 MB / 0.7424 GB, free: 169.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/1.059, allocations: 3.001 MB / 0.7454 GB, free: 168.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003256/1.062, allocations: 1.601 MB / 0.7469 GB, free: 168.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002037/1.064, allocations: 1.65 MB / 0.7485 GB, free: 167.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/1.064, allocations: 0 / 0.7485 GB, free: 167.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/1.173, allocations: 66.02 MB / 0.813 GB, free: 106.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/18.75, allocations: 7.062 kB / 0.813 GB, free: 106.1 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.521408895991044] Failed to read output from testmodel.py, exit status != 0: 18.877011474993196 18.894609757 18.5115152 Calling exit ...