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.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.001431/0.001431, allocations: 220.3 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.984 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.02714/0.02714, allocations: 5.289 MB / 317.7 MB, free: 13.88 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.001956/0.001956, allocations: 67.89 kB / 442 MB, free: 8.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.0935, allocations: 54.55 MB / 496.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.00491/0.09841, allocations: 3.687 MB / 0.4885 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.1033, allocations: 3.572 MB / 0.492 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.1035, allocations: 4 kB / 0.492 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007089/0.1042, allocations: 283 kB / 0.4923 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.1061, allocations: 0.918 MB / 0.4932 GB, free: 9.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.1065, allocations: 231.6 kB / 0.4934 GB, free: 9.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1079, allocations: 1.172 MB / 0.4945 GB, free: 7.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.1083, allocations: 216.6 kB / 0.4947 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.1089, allocations: 498.4 kB / 0.4952 GB, free: 7.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.1099, allocations: 0.8607 MB / 0.496 GB, free: 6.281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.1101, allocations: 112 kB / 0.4962 GB, free: 6.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.112, allocations: 1.135 MB / 0.4973 GB, free: 5.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005148/0.1126, allocations: 0.5182 MB / 0.4978 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006243/0.1132, allocations: 0.6182 MB / 0.4984 GB, free: 3.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.1155, allocations: 2.025 MB / 0.5003 GB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1155, allocations: 4 kB / 0.5004 GB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1155, allocations: 0 / 0.5004 GB, free: 1.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1155, allocations: 0 / 0.5004 GB, free: 1.859 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.006057/0.1216, allocations: 2.303 MB / 0.5026 GB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1216, allocations: 12.03 kB / 0.5026 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.1218, allocations: 94.7 kB / 0.5027 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005086/0.1268, allocations: 0.6196 MB / 0.5033 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.1303, allocations: 1.606 MB / 0.5049 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005874/0.1309, allocations: 0.4989 MB / 0.5054 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.131, allocations: 36 kB / 0.5054 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006313/0.1373, allocations: 2.3 MB / 0.5076 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1373, allocations: 3.938 kB / 0.5076 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.1374, allocations: 23.98 kB / 0.5077 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1374, allocations: 15.94 kB / 0.5077 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.1483, allocations: 3.573 MB / 0.5112 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004373/0.1526, allocations: 3.115 MB / 0.5142 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/0.1596, allocations: 2.243 MB / 0.5164 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1768/0.3364, allocations: 1.744 MB / 0.5181 GB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.3366, allocations: 4.75 kB / 0.5181 GB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3366, allocations: 48.03 kB / 0.5182 GB, free: 32.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.324e-06/0.3366, allocations: 3.5 kB / 0.5182 GB, free: 32.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.01657/0.3532, allocations: 5.219 MB / 0.5233 GB, free: 32.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.3533, allocations: 402 kB / 0.5236 GB, free: 32.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.3573, allocations: 2.144 MB / 0.5257 GB, free: 32.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.3574, allocations: 32.83 kB / 0.5258 GB, free: 32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.3577, allocations: 439.2 kB / 0.5262 GB, free: 31.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.3578, allocations: 111.1 kB / 0.5263 GB, free: 31.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.3581, allocations: 79.61 kB / 0.5264 GB, free: 31.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.3581, allocations: 315.4 kB / 0.5267 GB, free: 31.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005379/0.3635, allocations: 1.711 MB / 0.5283 GB, free: 31.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/0.3686, allocations: 1.842 MB / 0.5301 GB, free: 31.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009699/0.3783, allocations: 3.247 MB / 0.5333 GB, free: 29.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3783, allocations: 3.75 kB / 0.5333 GB, free: 29.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01001/0.3883, allocations: 3.505 MB / 0.5367 GB, free: 28.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3883, allocations: 5.5 kB / 0.5367 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3883, allocations: 1.375 kB / 0.5367 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3884, allocations: 8.938 kB / 0.5368 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/0.391, allocations: 0.6876 MB / 0.5374 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.391, allocations: 5.188 kB / 0.5374 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/0.3944, allocations: 0.7454 MB / 0.5382 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.3945, allocations: 15.86 kB / 0.5382 GB, free: 27.77 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.0004452/0.3949, allocations: 340.5 kB / 0.5385 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.3953, allocations: 102.3 kB / 0.5386 GB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.3954, allocations: 111.2 kB / 0.5387 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3954, allocations: 7.75 kB / 0.5387 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.3954, allocations: 3.906 kB / 0.5387 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.3954, allocations: 0 / 0.5387 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3965, allocations: 1.03 MB / 0.5397 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3965, allocations: 0 / 0.5397 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/0.3991, allocations: 0.6839 MB / 0.5404 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3991, allocations: 3.469 kB / 0.5404 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.3991, allocations: 11.64 kB / 0.5404 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3992, allocations: 10.16 kB / 0.5404 GB, free: 26.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3992, allocations: 3.719 kB / 0.5404 GB, free: 26.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009314/0.4085, allocations: 3.971 MB / 0.5443 GB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006716/0.4091, allocations: 259 kB / 0.5445 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.4094, allocations: 8 kB / 0.5445 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003336/0.4128, allocations: 0.7187 MB / 0.5452 GB, free: 21.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/0.4131, allocations: 131.8 kB / 0.5454 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.4131, allocations: 15.75 kB / 0.5454 GB, free: 21.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002259/0.4154, allocations: 1.624 MB / 0.547 GB, free: 20.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4154, allocations: 0 / 0.547 GB, free: 20.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00111/0.4165, allocations: 433.5 kB / 0.5474 GB, free: 19.66 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.01049/0.427, allocations: 4.807 MB / 0.5521 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009752/0.4368, allocations: 3.487 MB / 0.5555 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4368, allocations: 4 kB / 0.5555 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005044/0.4418, allocations: 1.958 MB / 0.5574 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.4435, allocations: 263 kB / 0.5577 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04836/0.4918, allocations: 21.02 MB / 0.5782 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.4927, allocations: 1.11 MB / 0.5793 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001217/0.4939, allocations: 347.2 kB / 0.5796 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008979/0.4948, allocations: 355.3 kB / 0.5799 GB, free: 2.16 MB / 398.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4948, allocations: 0 / 0.5799 GB, free: 2.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07868/0.5735, allocations: 41.06 MB / 0.62 GB, free: 9.406 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.51, allocations: 12.05 kB / 0.62 GB, free: 9.395 MB / 446.1 MB " [Timeout remaining time 647] (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: 14.98281069999939] Failed to read output from testmodel.py, exit status != 0: 12.628042266002012 12.651864922 12.531960402 Calling exit ...