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.001826/0.001826, allocations: 109.2 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.002501/0.002501, allocations: 219.1 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.977 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.0285/0.0285, allocations: 5.293 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.002107/0.002107, allocations: 63.91 kB / 442 MB, free: 8.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09634, allocations: 54.55 MB / 496.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.00534/0.1017, allocations: 3.69 MB / 0.4885 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.1072, allocations: 3.564 MB / 0.492 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.1076, allocations: 4 kB / 0.492 GB, free: 10.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009269/0.1085, allocations: 291 kB / 0.4923 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.111, allocations: 0.9137 MB / 0.4932 GB, free: 9.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.1115, allocations: 231.6 kB / 0.4934 GB, free: 9.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.1133, allocations: 1.168 MB / 0.4945 GB, free: 7.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/0.1138, allocations: 220.6 kB / 0.4947 GB, free: 7.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009224/0.1147, allocations: 498.4 kB / 0.4952 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.1161, allocations: 0.8607 MB / 0.496 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.1164, allocations: 112 kB / 0.4962 GB, free: 6.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.1189, allocations: 1.135 MB / 0.4973 GB, free: 5.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007019/0.1196, allocations: 0.5143 MB / 0.4978 GB, free: 4.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.1207, allocations: 0.6182 MB / 0.4984 GB, free: 3.906 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003252/0.1239, allocations: 2.025 MB / 0.5003 GB, free: 1.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1239, allocations: 7.938 kB / 0.5004 GB, free: 1.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1239, allocations: 0 / 0.5004 GB, free: 1.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.368e-05/0.124, allocations: 0 / 0.5004 GB, free: 1.867 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.007448/0.1314, allocations: 2.303 MB / 0.5026 GB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.1315, allocations: 16.03 kB / 0.5026 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.1317, allocations: 90.72 kB / 0.5027 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/0.1371, allocations: 0.6194 MB / 0.5033 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/0.1412, allocations: 1.61 MB / 0.5049 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007383/0.142, allocations: 0.499 MB / 0.5054 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.1422, allocations: 36 kB / 0.5054 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007107/0.1493, allocations: 2.3 MB / 0.5076 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1493, allocations: 0 / 0.5076 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.1495, allocations: 24 kB / 0.5077 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.1495, allocations: 12 kB / 0.5077 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/0.1611, allocations: 3.573 MB / 0.5112 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.1668, allocations: 3.111 MB / 0.5142 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007364/0.1742, allocations: 2.247 MB / 0.5164 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.193/0.3672, allocations: 1.747 MB / 0.5181 GB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.3673, allocations: 9.516 kB / 0.5181 GB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.3673, allocations: 44.27 kB / 0.5182 GB, free: 32.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 3.025e-06/0.3673, allocations: 3.781 kB / 0.5182 GB, free: 32.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0164/0.3837, allocations: 5.222 MB / 0.5233 GB, free: 32.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.3838, allocations: 396.5 kB / 0.5236 GB, free: 32.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.3877, allocations: 2.147 MB / 0.5257 GB, free: 32.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.3879, allocations: 31.11 kB / 0.5258 GB, free: 32.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.3882, allocations: 435.9 kB / 0.5262 GB, free: 31.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.3884, allocations: 111.4 kB / 0.5263 GB, free: 31.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.3886, allocations: 75.27 kB / 0.5264 GB, free: 31.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.3887, allocations: 320.1 kB / 0.5267 GB, free: 31.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005322/0.394, allocations: 1.713 MB / 0.5283 GB, free: 31.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005133/0.3991, allocations: 1.845 MB / 0.5301 GB, free: 31.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009435/0.4086, allocations: 3.243 MB / 0.5333 GB, free: 29.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4086, allocations: 5.125 kB / 0.5333 GB, free: 29.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01052/0.4191, allocations: 3.497 MB / 0.5367 GB, free: 28.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4191, allocations: 11.84 kB / 0.5367 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4191, allocations: 1.156 kB / 0.5367 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.4191, allocations: 5.094 kB / 0.5367 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.4219, allocations: 0.6921 MB / 0.5374 GB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4219, allocations: 8.031 kB / 0.5374 GB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.4252, allocations: 0.7478 MB / 0.5382 GB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.4253, allocations: 15.8 kB / 0.5382 GB, free: 27.79 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.0004139/0.4257, allocations: 330.4 kB / 0.5385 GB, free: 27.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.426, allocations: 106.4 kB / 0.5386 GB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.4262, allocations: 112.5 kB / 0.5387 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4262, allocations: 3.969 kB / 0.5387 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4262, allocations: 3.969 kB / 0.5387 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4262, allocations: 7.984 kB / 0.5387 GB, free: 27.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.4273, allocations: 1.022 MB / 0.5397 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4273, allocations: 2.781 kB / 0.5397 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/0.4298, allocations: 0.6845 MB / 0.5404 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4298, allocations: 3.906 kB / 0.5404 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.4299, allocations: 10.83 kB / 0.5404 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.4299, allocations: 6.719 kB / 0.5404 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4299, allocations: 3.625 kB / 0.5404 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009521/0.4394, allocations: 3.977 MB / 0.5443 GB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/0.4401, allocations: 262.9 kB / 0.5445 GB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.4404, allocations: 8 kB / 0.5445 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003441/0.4438, allocations: 0.7171 MB / 0.5452 GB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/0.4441, allocations: 131.8 kB / 0.5454 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.4442, allocations: 15.98 kB / 0.5454 GB, free: 21.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002315/0.4465, allocations: 1.62 MB / 0.547 GB, free: 20.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4465, allocations: 0 / 0.547 GB, free: 20.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001203/0.4477, allocations: 440.7 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.01052/0.4582, allocations: 4.798 MB / 0.5521 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009731/0.468, allocations: 3.489 MB / 0.5555 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.468, allocations: 4 kB / 0.5555 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005076/0.473, allocations: 1.967 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.001777/0.4748, allocations: 250 kB / 0.5576 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05238/0.5272, 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.001051/0.5283, allocations: 1.11 MB / 0.5793 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001389/0.5297, allocations: 342.8 kB / 0.5796 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.5307, allocations: 359.3 kB / 0.5799 GB, free: 2.164 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5307, allocations: 0 / 0.5799 GB, free: 2.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08675/0.6174, allocations: 41.06 MB / 0.62 GB, free: 9.406 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.89, allocations: 8 kB / 0.62 GB, free: 9.398 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_Trajectory_test_fmu --startTime=0 --stopTime=4 --stepSize=0.008 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_Trajectory_test.fmu > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.450903096003458] Failed to read output from testmodel.py, exit status != 0: 14.014431373914704 14.042414485 13.913476844 Calling exit ...