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.001411/0.001411, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001553/0.001553, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.02775/0.02775, allocations: 5.288 MB / 318.5 MB, free: 13.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_test",fmuType="cs",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.001982/0.001982, allocations: 71.89 kB / 442.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1241, allocations: 54.56 MB / 497.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005618/0.1297, allocations: 3.36 MB / 0.4889 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005443/0.1351, allocations: 3.203 MB / 0.492 GB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.1354, allocations: 4 kB / 0.492 GB, free: 11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.1363, allocations: 263 kB / 0.4923 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.1387, allocations: 0.9113 MB / 0.4931 GB, free: 9.828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.1392, allocations: 239.6 kB / 0.4934 GB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.1407, allocations: 1.168 MB / 0.4945 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.1412, allocations: 220.6 kB / 0.4947 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.1417, allocations: 0.4906 MB / 0.4952 GB, free: 7.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.1428, allocations: 0.8529 MB / 0.496 GB, free: 6.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.143, allocations: 116 kB / 0.4961 GB, free: 6.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.1449, allocations: 0.9866 MB / 0.4971 GB, free: 5.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005708/0.1455, allocations: 0.5182 MB / 0.4976 GB, free: 5.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.1461, allocations: 0.525 MB / 0.4981 GB, free: 4.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.1489, allocations: 1.986 MB / 0.5001 GB, free: 2.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1489, allocations: 4 kB / 0.5001 GB, free: 2.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1489, allocations: 0 / 0.5001 GB, free: 2.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1489, allocations: 0 / 0.5001 GB, free: 2.699 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.006971/0.1559, allocations: 2.306 MB / 0.5023 GB, free: 364 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.1559, allocations: 12.02 kB / 0.5023 GB, free: 352 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.456e-05/0.156, allocations: 8.844 kB / 0.5023 GB, free: 340 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.1561, allocations: 102.7 kB / 0.5024 GB, free: 228 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.1614, allocations: 0.6155 MB / 0.503 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004202/0.1656, allocations: 1.606 MB / 0.5046 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007563/0.1664, allocations: 0.5029 MB / 0.5051 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1665, allocations: 36 kB / 0.5051 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007076/0.1736, allocations: 2.53 MB / 0.5076 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1736, allocations: 3.938 kB / 0.5076 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.1737, allocations: 20 kB / 0.5076 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.1737, allocations: 8 kB / 0.5076 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.1851, allocations: 3.576 MB / 0.5111 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/0.1895, allocations: 2.722 MB / 0.5138 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.1964, allocations: 2.243 MB / 0.516 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00553/0.202, allocations: 1.753 MB / 0.5177 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.175e-05/0.2021, allocations: 11.92 kB / 0.5177 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.466e-05/0.2021, allocations: 50.5 kB / 0.5178 GB, free: 104 kB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 3.035e-06/0.2021, allocations: 0 / 0.5178 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.2501/0.4522, allocations: 5.218 MB / 0.5228 GB, free: 33.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.4524, allocations: 394.1 kB / 0.5232 GB, free: 32.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004247/0.4566, allocations: 2.148 MB / 0.5253 GB, free: 32.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.4567, allocations: 34.48 kB / 0.5254 GB, free: 32.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.4571, allocations: 438.6 kB / 0.5258 GB, free: 32.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.4572, allocations: 110.8 kB / 0.5259 GB, free: 32.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.4575, allocations: 71.17 kB / 0.5259 GB, free: 32.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.4576, allocations: 321.2 kB / 0.5263 GB, free: 31.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005207/0.4628, allocations: 1.713 MB / 0.5279 GB, free: 31.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005307/0.4681, allocations: 2.038 MB / 0.5299 GB, free: 31.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009385/0.4775, allocations: 3.256 MB / 0.5331 GB, free: 30.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.4775, allocations: 0.9688 kB / 0.5331 GB, free: 30.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01032/0.4878, allocations: 3.498 MB / 0.5365 GB, free: 28.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.4878, allocations: 8.469 kB / 0.5365 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4878, allocations: 6.234 kB / 0.5365 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.4879, allocations: 5.938 kB / 0.5365 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/0.4905, allocations: 0.6815 MB / 0.5372 GB, free: 28.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4905, allocations: 2.844 kB / 0.5372 GB, free: 28.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/0.4941, allocations: 0.7475 MB / 0.5379 GB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.4941, allocations: 19.22 kB / 0.5379 GB, free: 28.21 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.000489/0.4946, allocations: 338.5 kB / 0.5383 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.495, allocations: 105 kB / 0.5384 GB, free: 27.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.4951, allocations: 112.5 kB / 0.5385 GB, free: 27.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.4951, allocations: 8.344 kB / 0.5385 GB, free: 27.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4952, allocations: 6.781 kB / 0.5385 GB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4952, allocations: 4.547 kB / 0.5385 GB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.4962, allocations: 0.6799 MB / 0.5392 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4962, allocations: 0 / 0.5392 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/0.4987, allocations: 0.698 MB / 0.5398 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4987, allocations: 1.219 kB / 0.5398 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.4988, allocations: 11.5 kB / 0.5399 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4988, allocations: 7.641 kB / 0.5399 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4988, allocations: 0 / 0.5399 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009469/0.5082, allocations: 3.972 MB / 0.5437 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/0.5089, allocations: 259 kB / 0.544 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.5092, allocations: 12 kB / 0.544 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/0.5126, allocations: 0.7165 MB / 0.5447 GB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/0.513, allocations: 131.8 kB / 0.5448 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.5131, allocations: 19.98 kB / 0.5448 GB, free: 22.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002499/0.5156, allocations: 1.624 MB / 0.5464 GB, free: 20.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5156, allocations: 0 / 0.5464 GB, free: 20.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001376/0.517, allocations: 430 kB / 0.5468 GB, free: 20.27 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.0105/0.5275, allocations: 4.795 MB / 0.5515 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00943/0.5369, allocations: 3.493 MB / 0.5549 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.5369, allocations: 0 / 0.5549 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004915/0.5418, allocations: 1.962 MB / 0.5568 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5437, allocations: 246.8 kB / 0.5571 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05204/0.5957, allocations: 21.03 MB / 0.5776 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.5965, allocations: 0.5032 MB / 0.5781 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00158/0.5981, allocations: 350 kB / 0.5784 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/0.5992, allocations: 355.3 kB / 0.5788 GB, free: 3.426 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5992, allocations: 0 / 0.5788 GB, free: 3.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0839/0.6831, allocations: 43.56 MB / 0.6213 GB, free: 8.242 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.44, allocations: 10.56 kB / 0.6213 GB, free: 8.234 MB / 446.1 MB " [Timeout remaining time 645] (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 os._exit(0), Time elapsed: 17.226010113954544] Failed to read output from testmodel.py, exit status != 0: 14.619326677988283 14.648426365 14.494465863 Calling exit ...