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.001772/0.001772, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.00215/0.00215, allocations: 162.4 kB / 23.01 MB, free: 4.602 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.918 MB / 190.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.02736/0.02736, allocations: 4.083 MB / 263.9 MB, free: 12.67 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: translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") [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.002113/0.002113, allocations: 63.91 kB / 388.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09562, allocations: 54.54 MB / 443.1 MB, free: 8.988 MB / 414.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004886/0.1005, allocations: 3.363 MB / 446.4 MB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004973/0.1055, allocations: 3.203 MB / 449.6 MB, free: 2.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.1056, allocations: 4 kB / 449.6 MB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.1064, allocations: 267 kB / 449.9 MB, free: 2.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.1084, allocations: 0.9112 MB / 450.8 MB, free: 1.207 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.1088, allocations: 243.5 kB / 451.1 MB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1102, allocations: 1.172 MB / 452.2 MB, free: 15.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.1106, allocations: 216.6 kB / 452.4 MB, free: 15.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.1111, allocations: 498.4 kB / 452.9 MB, free: 15.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.1122, allocations: 0.8255 MB / 453.8 MB, free: 14.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.1124, allocations: 116 kB / 453.9 MB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.1142, allocations: 0.9749 MB / 454.8 MB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.1147, allocations: 0.5026 MB / 455.3 MB, free: 12.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.1152, allocations: 485.8 kB / 455.8 MB, free: 12.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.1174, allocations: 1.888 MB / 457.7 MB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1174, allocations: 0 / 457.7 MB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1174, allocations: 0 / 457.7 MB, free: 10.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.1175, allocations: 0 / 457.7 MB, free: 10.29 MB / 430.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.006487/0.124, allocations: 2.205 MB / 459.9 MB, free: 8.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.124, allocations: 8.031 kB / 459.9 MB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.1261, allocations: 295.3 kB / 460.2 MB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.1283, allocations: 1.024 MB / 461.2 MB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006443/0.1289, allocations: 0.5146 MB / 461.7 MB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.129, allocations: 40 kB / 461.8 MB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007349/0.1364, allocations: 2.526 MB / 464.3 MB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1364, allocations: 0 / 464.3 MB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.1365, allocations: 19.94 kB / 464.3 MB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1365, allocations: 12 kB / 464.3 MB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.1494, allocations: 3.577 MB / 467.9 MB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.1528, allocations: 2.419 MB / 470.3 MB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00812/0.1609, allocations: 2.239 MB / 472.6 MB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00634/0.1673, allocations: 1.749 MB / 474.3 MB, free: 9.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.1673, allocations: 11.98 kB / 474.3 MB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.1674, allocations: 46.5 kB / 474.4 MB, free: 9.152 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.1674, allocations: 0 / 474.4 MB, free: 9.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01971/0.1871, allocations: 5.21 MB / 479.6 MB, free: 3.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/0.1873, allocations: 393.5 kB / 480 MB, free: 3.449 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.1898, allocations: 1.388 MB / 481.4 MB, free: 2.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.813e-05/0.1898, allocations: 33.7 kB / 481.4 MB, free: 2.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.1902, allocations: 408.6 kB / 481.8 MB, free: 1.605 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.1904, allocations: 126.9 kB / 481.9 MB, free: 1.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.1907, allocations: 130.1 kB / 482 MB, free: 1.348 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1909, allocations: 326 kB / 482.4 MB, free: 1.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1897/0.3805, allocations: 1.814 MB / 484.2 MB, free: 80.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006058/0.3866, allocations: 2.194 MB / 486.4 MB, free: 80.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/0.3979, allocations: 3.409 MB / 489.8 MB, free: 79.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3979, allocations: 4.031 kB / 489.8 MB, free: 79.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01208/0.41, allocations: 3.764 MB / 493.5 MB, free: 79.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.41, allocations: 6.094 kB / 493.6 MB, free: 79.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.41, allocations: 2.406 kB / 493.6 MB, free: 79.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.41, allocations: 5.938 kB / 493.6 MB, free: 79.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/0.4132, allocations: 0.7209 MB / 494.3 MB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.4132, allocations: 8.656 kB / 494.3 MB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/0.4168, allocations: 0.6992 MB / 495 MB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/0.4169, allocations: 26 kB / 495 MB, free: 79.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (59): * Single equations (assignments): 59 * 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.0004476/0.4173, allocations: 338.6 kB / 495.3 MB, free: 79.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.4176, allocations: 90.61 kB / 495.4 MB, free: 79.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.4177, allocations: 93.84 kB / 495.5 MB, free: 79.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4177, allocations: 5.875 kB / 495.5 MB, free: 79.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4177, allocations: 0.9375 kB / 495.5 MB, free: 79.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4177, allocations: 10.81 kB / 495.5 MB, free: 79.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008935/0.4186, allocations: 0.5765 MB / 496.1 MB, free: 79.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4186, allocations: 5.312 kB / 496.1 MB, free: 79.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/0.4217, allocations: 0.6805 MB / 496.8 MB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.4217, allocations: 3.5 kB / 496.8 MB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.4218, allocations: 10.59 kB / 496.8 MB, free: 79.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4218, allocations: 6.641 kB / 496.8 MB, free: 79.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4218, allocations: 3.562 kB / 496.8 MB, free: 79.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.4333, allocations: 3.95 MB / 0.489 GB, free: 78.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.4336, allocations: 103.7 kB / 0.4891 GB, free: 78.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.4338, allocations: 12.19 kB / 0.4892 GB, free: 78.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/0.4375, allocations: 0.6748 MB / 0.4898 GB, free: 78.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/0.4378, allocations: 151.5 kB / 0.49 GB, free: 78.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.4379, allocations: 19.16 kB / 0.49 GB, free: 78.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.4395, allocations: 1.029 MB / 0.491 GB, free: 77.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4395, allocations: 0 / 0.491 GB, free: 77.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0015/0.441, allocations: 429.5 kB / 0.4914 GB, free: 77.74 MB / 446.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.0007939/0.4418, allocations: 397.2 kB / 0.4918 GB, free: 77.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01255/0.4544, allocations: 3.625 MB / 0.4953 GB, free: 77.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.4544, allocations: 1.125 kB / 0.4953 GB, free: 77.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006731/0.4611, allocations: 1.957 MB / 0.4972 GB, free: 76.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.4628, allocations: 241.8 kB / 0.4975 GB, free: 76.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009006/0.4718, allocations: 3.131 MB / 0.5005 GB, free: 75.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.4724, allocations: 0.5019 MB / 0.501 GB, free: 75.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001094/0.4735, allocations: 296.9 kB / 0.5013 GB, free: 75.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.474, allocations: 62.12 kB / 0.5013 GB, free: 75.66 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.474, allocations: 0 / 0.5013 GB, free: 75.66 MB / 446.1 MB Notification: Performance of Templates: time 0.03185/0.5058, allocations: 26.9 MB / 0.5276 GB, free: 57.29 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile [Timeout 660] (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 & ./DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4418797040125355] Failed to read output from testmodel.py, exit status != 0: 0.5135769119951874 0.522423309 0.40277865599999996 Calling exit ...