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.001628/0.001628, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002123/0.002123, allocations: 215.1 kB / 23.04 MB, free: 5.074 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.02756/0.02756, allocations: 5.282 MB / 318.5 MB, free: 13.9 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.001843/0.001843, allocations: 60.19 kB / 442.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1115, allocations: 54.55 MB / 497.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005044/0.1165, allocations: 3.691 MB / 0.4893 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.1217, allocations: 3.56 MB / 0.4927 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.1219, allocations: 11.94 kB / 0.4928 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.1228, allocations: 291 kB / 0.493 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.1248, allocations: 0.9097 MB / 0.4939 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.1252, allocations: 239.6 kB / 0.4941 GB, free: 9.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1266, allocations: 1.171 MB / 0.4953 GB, free: 7.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.1271, allocations: 220.6 kB / 0.4955 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007321/0.1278, allocations: 498.4 kB / 0.496 GB, free: 7.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.129, allocations: 0.8529 MB / 0.4968 GB, free: 6.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.1292, allocations: 119.9 kB / 0.4969 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.1315, allocations: 1.131 MB / 0.498 GB, free: 5.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.132, allocations: 0.5143 MB / 0.4985 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006465/0.1326, allocations: 0.626 MB / 0.4991 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.1351, allocations: 2.017 MB / 0.5011 GB, free: 1.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1351, allocations: 4 kB / 0.5011 GB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1351, allocations: 0 / 0.5011 GB, free: 1.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1351, allocations: 0 / 0.5011 GB, free: 1.891 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.006483/0.1416, allocations: 2.31 MB / 0.5034 GB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1416, allocations: 8.031 kB / 0.5034 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.976e-05/0.1417, allocations: 8.844 kB / 0.5034 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.1418, allocations: 94.72 kB / 0.5035 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/0.1475, allocations: 0.6194 MB / 0.5041 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.1512, allocations: 1.614 MB / 0.5057 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006232/0.1518, allocations: 0.499 MB / 0.5061 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.1519, allocations: 36 kB / 0.5062 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007098/0.159, allocations: 2.3 MB / 0.5084 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.159, allocations: 0 / 0.5084 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.1591, allocations: 20 kB / 0.5084 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1591, allocations: 8 kB / 0.5085 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.1715, allocations: 3.577 MB / 0.5119 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005464/0.177, allocations: 3.119 MB / 0.515 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007706/0.1847, allocations: 2.239 MB / 0.5172 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2515/0.4362, allocations: 1.747 MB / 0.5189 GB, free: 32.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.4363, allocations: 8.422 kB / 0.5189 GB, free: 32.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.4364, allocations: 46.23 kB / 0.5189 GB, free: 32.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.4364, allocations: 6.25 kB / 0.5189 GB, free: 32.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.02055/0.4569, allocations: 5.221 MB / 0.524 GB, free: 32.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.4571, allocations: 399.5 kB / 0.5244 GB, free: 32.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/0.4613, allocations: 2.145 MB / 0.5265 GB, free: 31.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.4615, allocations: 36.17 kB / 0.5266 GB, free: 31.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.4618, allocations: 434 kB / 0.527 GB, free: 31.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.462, allocations: 110.9 kB / 0.5271 GB, free: 31.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.4622, allocations: 77.11 kB / 0.5271 GB, free: 31.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.4623, allocations: 319.6 kB / 0.5275 GB, free: 31.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006318/0.4686, allocations: 1.713 MB / 0.5291 GB, free: 31.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006103/0.4747, allocations: 1.843 MB / 0.5309 GB, free: 31.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.4856, allocations: 3.245 MB / 0.5341 GB, free: 29.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4856, allocations: 0 / 0.5341 GB, free: 29.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01171/0.4973, allocations: 3.501 MB / 0.5375 GB, free: 28.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.4973, allocations: 5.5 kB / 0.5375 GB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4973, allocations: 6.688 kB / 0.5375 GB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.4973, allocations: 5.188 kB / 0.5375 GB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.5004, allocations: 0.6847 MB / 0.5382 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5004, allocations: 3.094 kB / 0.5382 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/0.5043, allocations: 0.7496 MB / 0.5389 GB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/0.5043, allocations: 15.58 kB / 0.5389 GB, free: 27.62 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.0004661/0.5048, allocations: 341.7 kB / 0.5393 GB, free: 27.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.5051, allocations: 98.69 kB / 0.5394 GB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.5053, allocations: 117.8 kB / 0.5395 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5053, allocations: 7.938 kB / 0.5395 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5053, allocations: 6.484 kB / 0.5395 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5053, allocations: 7.781 kB / 0.5395 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.5064, allocations: 1.022 MB / 0.5405 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5064, allocations: 3.938 kB / 0.5405 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/0.5092, allocations: 0.6807 MB / 0.5412 GB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.5092, allocations: 5.75 kB / 0.5412 GB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.5093, allocations: 12.36 kB / 0.5412 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5093, allocations: 7.938 kB / 0.5412 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5093, allocations: 3.844 kB / 0.5412 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.5199, allocations: 3.972 MB / 0.5451 GB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.5204, allocations: 255.1 kB / 0.5453 GB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.5207, allocations: 8 kB / 0.5453 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003644/0.5243, allocations: 0.7177 MB / 0.546 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/0.5246, allocations: 139.6 kB / 0.5462 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.5247, allocations: 15.98 kB / 0.5462 GB, free: 21.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002313/0.527, allocations: 1.62 MB / 0.5478 GB, free: 19.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.527, allocations: 0 / 0.5478 GB, free: 19.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001182/0.5282, allocations: 434 kB / 0.5482 GB, free: 19.43 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.01166/0.5399, allocations: 4.799 MB / 0.5529 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01072/0.5506, allocations: 3.494 MB / 0.5563 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.5506, allocations: 4 kB / 0.5563 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006081/0.5567, allocations: 1.954 MB / 0.5582 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.5585, allocations: 257.6 kB / 0.5584 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05424/0.6127, allocations: 21.02 MB / 0.579 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008487/0.6136, allocations: 1.107 MB / 0.58 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001241/0.6148, allocations: 349.1 kB / 0.5804 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000921/0.6157, allocations: 355.3 kB / 0.5807 GB, free: 2 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6157, allocations: 0 / 0.5807 GB, free: 2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07963/0.6953, allocations: 41.1 MB / 0.6208 GB, free: 9.215 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.98, allocations: 10.38 kB / 0.6209 GB, free: 9.211 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 os._exit(0), Time elapsed: 16.752135297982022] Failed to read output from testmodel.py, exit status != 0: 14.157088031060994 14.185871487 14.045533287 Calling exit ...