Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Trajectory_test.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.001315/0.001315, allocations: 107.6 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.001711/0.001711, 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.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02851/0.02851, allocations: 5.29 MB / 314.1 MB, free: 15.05 MB / 254.1 MB " [Timeout remaining time 180] Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/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(DeltaRobot.Tests.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DeltaRobot 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.002144/0.002144, allocations: 71.89 kB / 436.8 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.0946, allocations: 54.51 MB / 491.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004811/0.09941, allocations: 3.682 MB / 495 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.1044, allocations: 3.533 MB / 498.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.1047, allocations: 11.94 kB / 498.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007482/0.1054, allocations: 298.9 kB / 498.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.1072, allocations: 0.9073 MB / 499.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1076, allocations: 231.6 kB / 500 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.109, allocations: 1.182 MB / 0.4894 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.1094, allocations: 273.8 kB / 0.4896 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005268/0.1099, allocations: 498.3 kB / 0.4901 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009733/0.1109, allocations: 0.8529 MB / 0.491 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.1111, allocations: 115.9 kB / 0.4911 GB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.1129, allocations: 1.127 MB / 0.4922 GB, free: 8.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.1134, allocations: 0.5104 MB / 0.4927 GB, free: 8.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.1141, allocations: 0.6221 MB / 0.4933 GB, free: 7.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.1164, allocations: 2.017 MB / 0.4952 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1164, allocations: 0 / 0.4952 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1164, allocations: 0 / 0.4952 GB, free: 5.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.1164, allocations: 4 kB / 0.4952 GB, free: 5.527 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0066/0.123, allocations: 2.382 MB / 0.4976 GB, free: 3.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.123, allocations: 12.03 kB / 0.4976 GB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.1232, allocations: 94.72 kB / 0.4977 GB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005618/0.1288, allocations: 0.6196 MB / 0.4983 GB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0036/0.1324, allocations: 1.663 MB / 0.4999 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004734/0.1329, allocations: 255.7 kB / 0.5001 GB, free: 372 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.133, allocations: 44 kB / 0.5002 GB, free: 328 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006962/0.14, allocations: 2.292 MB / 0.5024 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.14, allocations: 7.938 kB / 0.5024 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1401, allocations: 20 kB / 0.5025 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1401, allocations: 12 kB / 0.5025 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.1526, allocations: 3.569 MB / 0.506 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004512/0.1571, allocations: 3.155 MB / 0.509 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007806/0.1649, allocations: 2.247 MB / 0.5112 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006132/0.1711, allocations: 1.761 MB / 0.5129 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.1712, allocations: 3.984 kB / 0.513 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.1712, allocations: 46.5 kB / 0.513 GB, free: 2.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.415e-06/0.1712, allocations: 0 / 0.513 GB, free: 2.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.2003/0.3715, allocations: 5.21 MB / 0.5181 GB, free: 35.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.3716, allocations: 402.7 kB / 0.5185 GB, free: 34.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004272/0.3759, allocations: 2.148 MB / 0.5206 GB, free: 34.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.3762, allocations: 32.56 kB / 0.5206 GB, free: 34.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.3765, allocations: 434.6 kB / 0.521 GB, free: 34.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.3766, allocations: 115.4 kB / 0.5211 GB, free: 34.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.3769, allocations: 71.12 kB / 0.5212 GB, free: 34.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.377, allocations: 325.7 kB / 0.5215 GB, free: 33.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005967/0.383, allocations: 1.717 MB / 0.5232 GB, free: 33.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006179/0.3891, allocations: 1.834 MB / 0.525 GB, free: 33.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.4003, allocations: 3.248 MB / 0.5281 GB, free: 32.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.4003, allocations: 0 / 0.5281 GB, free: 32.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0116/0.4119, allocations: 3.509 MB / 0.5316 GB, free: 31.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4119, allocations: 7.688 kB / 0.5316 GB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4119, allocations: 1.094 kB / 0.5316 GB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.412, allocations: 6.125 kB / 0.5316 GB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.4149, allocations: 0.6876 MB / 0.5323 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4149, allocations: 11.81 kB / 0.5323 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/0.4189, allocations: 0.7378 MB / 0.533 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.419, allocations: 20.64 kB / 0.533 GB, free: 30.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005486/0.4195, allocations: 337.5 kB / 0.5333 GB, free: 30.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/0.4201, allocations: 106 kB / 0.5334 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.4202, allocations: 116.3 kB / 0.5335 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4202, allocations: 4.844 kB / 0.5335 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4203, allocations: 1.938 kB / 0.5335 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4203, allocations: 1.562 kB / 0.5335 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.4214, allocations: 1.048 MB / 0.5346 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4214, allocations: 1.375 kB / 0.5346 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/0.4244, allocations: 0.7003 MB / 0.5353 GB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.4244, allocations: 2.062 kB / 0.5353 GB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/0.4245, allocations: 12.77 kB / 0.5353 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.4245, allocations: 3.812 kB / 0.5353 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4245, allocations: 1.438 kB / 0.5353 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.4353, allocations: 3.959 MB / 0.5391 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/0.4359, allocations: 338.5 kB / 0.5395 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/0.4362, allocations: 15.73 kB / 0.5395 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/0.44, allocations: 0.7162 MB / 0.5402 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/0.4404, allocations: 135.1 kB / 0.5403 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.4405, allocations: 15.98 kB / 0.5403 GB, free: 25.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002506/0.443, allocations: 1.624 MB / 0.5419 GB, free: 24.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.443, allocations: 4 kB / 0.5419 GB, free: 24.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001559/0.4445, allocations: 429.9 kB / 0.5423 GB, free: 23.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0119/0.4564, allocations: 4.795 MB / 0.547 GB, free: 18.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.4671, allocations: 3.498 MB / 0.5504 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4671, allocations: 0 / 0.5504 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00557/0.4727, allocations: 1.955 MB / 0.5523 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.4746, allocations: 250.8 kB / 0.5526 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05099/0.5256, allocations: 21.01 MB / 0.5731 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008626/0.5265, allocations: 1.111 MB / 0.5742 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001365/0.5278, allocations: 354 kB / 0.5745 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.5288, allocations: 351.3 kB / 0.5748 GB, free: 6.312 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5288, allocations: 3.938 kB / 0.5748 GB, free: 6.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08174/0.6106, allocations: 40.73 MB / 0.6146 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.62, allocations: 18.83 kB / 0.6146 GB, free: 13.82 MB / 446.1 MB " [Timeout remaining time 649] (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.Trajectory_test.sim & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.Trajectory_test_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 DeltaRobot_DeltaRobot_Tests_Trajectory_test.fmu > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.165927010006271] Failed to read output from testmodel.py, exit status != 0: 10.7094290189998 10.734620914 10.613499787 Calling exit ...