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.0009143/0.0009143, 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.000936/0.000936, 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.8494/0.8494, 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/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.01542/0.01542, allocations: 4.091 MB / 263.3 MB, free: 9.238 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 387.6 MB, free: 9.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.219e-05, allocations: 5.234 kB / 387.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.002858/0.00287, allocations: 3.363 MB / 390.9 MB, free: 5.648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.005964, allocations: 3.218 MB / 394.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.006115, allocations: 8 kB / 394.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.006655, allocations: 266.9 kB / 394.4 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.007959, allocations: 0.9223 MB / 395.4 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.008244, allocations: 247.6 kB / 395.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008576/0.009102, allocations: 1.202 MB / 396.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.009379, allocations: 220.7 kB / 397 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.009888, allocations: 0.6352 MB / 397.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.01047, allocations: 0.7833 MB / 398.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.0106, allocations: 112 kB / 398.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.01176, allocations: 0.9748 MB / 399.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.01207, allocations: 0.5259 MB / 400 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.01238, allocations: 458.9 kB / 400.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.01394, allocations: 2.139 MB / 402.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.01395, allocations: 0 / 402.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01395, allocations: 4 kB / 402.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.01397, allocations: 0 / 402.6 MB, free: 9.918 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.003455/0.01742, allocations: 2.306 MB / 404.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.01746, allocations: 12.03 kB / 405 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.747e-05/0.01756, allocations: 94.7 kB / 405 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.01997, allocations: 0.6235 MB / 405.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.02202, allocations: 1.614 MB / 407.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.02234, allocations: 0.4912 MB / 407.8 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.02242, allocations: 36 kB / 407.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.02583, allocations: 2.53 MB / 410.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.02584, allocations: 7.938 kB / 410.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.0259, allocations: 24 kB / 410.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.02591, allocations: 11.94 kB / 410.4 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1269/0.1528, allocations: 3.567 MB / 413.9 MB, free: 35.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.1554, allocations: 2.718 MB / 416.7 MB, free: 33.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/0.1593, allocations: 2.24 MB / 418.9 MB, free: 33.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002987/0.1623, allocations: 1.759 MB / 420.7 MB, free: 33.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-05/0.1623, allocations: 9.094 kB / 420.7 MB, free: 33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1623, allocations: 46.81 kB / 420.7 MB, free: 32.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.1623, allocations: 0 / 420.7 MB, free: 32.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.008855/0.1712, allocations: 5.226 MB / 425.9 MB, free: 31.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.1713, allocations: 395 kB / 426.3 MB, free: 30.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.1736, allocations: 2.158 MB / 428.5 MB, free: 29.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.1736, allocations: 33.64 kB / 428.5 MB, free: 29.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1738, allocations: 436.5 kB / 428.9 MB, free: 29.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.275e-05/0.1739, allocations: 109.8 kB / 429.1 MB, free: 29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.174, allocations: 76.11 kB / 429.1 MB, free: 28.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.1741, allocations: 319.4 kB / 429.4 MB, free: 28.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.1767, allocations: 1.712 MB / 431.2 MB, free: 27.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.1794, allocations: 2.044 MB / 433.2 MB, free: 25.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/0.1843, allocations: 3.245 MB / 436.4 MB, free: 22.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1843, allocations: 0 / 436.4 MB, free: 22.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.005348/0.1896, allocations: 3.502 MB / 439.9 MB, free: 19.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1897, allocations: 4 kB / 439.9 MB, free: 19.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1897, allocations: 0 / 439.9 MB, free: 19.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1897, allocations: 7.984 kB / 440 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.191, allocations: 0.6921 MB / 440.6 MB, free: 18.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.191, allocations: 3.938 kB / 440.7 MB, free: 18.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.1927, allocations: 0.7439 MB / 441.4 MB, free: 17.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.1928, allocations: 12 kB / 441.4 MB, free: 17.75 MB / 330.7 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.0002894/0.1931, allocations: 333.6 kB / 441.7 MB, free: 17.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.1933, allocations: 107.3 kB / 441.8 MB, free: 17.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.1934, allocations: 116.7 kB / 442 MB, free: 17.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1934, allocations: 8 kB / 442 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1934, allocations: 4 kB / 442 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1934, allocations: 11.86 kB / 442 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/0.1941, allocations: 0.6728 MB / 442.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1941, allocations: 0 / 442.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.1954, allocations: 0.677 MB / 443.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1954, allocations: 7.922 kB / 443.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.1954, allocations: 12 kB / 443.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1954, allocations: 4 kB / 443.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1954, allocations: 7.984 kB / 443.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005343/0.2008, allocations: 3.981 MB / 447.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.2011, allocations: 255.5 kB / 447.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.2012, allocations: 15.94 kB / 447.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.203, allocations: 0.7147 MB / 448.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.2032, allocations: 139.7 kB / 448.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.2032, allocations: 19.98 kB / 448.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001458/0.2047, allocations: 1.62 MB / 450.1 MB, free: 9.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2047, allocations: 0 / 450.1 MB, free: 9.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008073/0.2055, allocations: 427.1 kB / 450.5 MB, free: 8.641 MB / 330.7 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.005923/0.2114, allocations: 4.825 MB / 455.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0053/0.2167, allocations: 3.499 MB / 458.8 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2167, allocations: 0 / 458.8 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003157/0.2199, allocations: 1.958 MB / 460.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009913/0.2209, allocations: 258.6 kB / 461 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02886/0.2497, allocations: 21.07 MB / 482.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.2503, allocations: 0.5023 MB / 482.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000688/0.251, allocations: 361 kB / 483 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/0.2517, allocations: 356.3 kB / 483.3 MB, free: 7.676 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2517, allocations: 0 / 483.3 MB, free: 7.676 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.295, allocations: 44.65 MB / 0.5156 GB, free: 11.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.85, allocations: 0 / 0.5156 GB, free: 11.36 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.521370166912675] Failed to read output from testmodel.py, exit status != 0: 7.943353241309524 7.95188547 7.936325538 Calling exit ...