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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 189.9 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 251 MB, free: 13.02 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.02769/0.02769, allocations: 5.281 MB / 311.6 MB, free: 3.453 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.89 kB / 434 MB, free: 17.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1205, allocations: 53.36 MB / 487.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005293/0.1258, allocations: 3.685 MB / 491 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005312/0.1311, allocations: 3.506 MB / 494.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.1313, allocations: 4 kB / 494.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008525/0.1322, allocations: 290.9 kB / 494.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.1341, allocations: 0.8918 MB / 495.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.1346, allocations: 246.1 kB / 495.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.136, allocations: 1.16 MB / 497.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.1364, allocations: 224.5 kB / 497.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.1369, allocations: 498.4 kB / 497.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.1379, allocations: 0.8607 MB / 498.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.1381, allocations: 112 kB / 498.8 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.14, allocations: 1.115 MB / 499.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005421/0.1406, allocations: 0.5026 MB / 0.4887 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006088/0.1412, allocations: 0.5715 MB / 0.4892 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.1434, allocations: 1.892 MB / 0.4911 GB, free: 12.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1435, allocations: 4 kB / 0.4911 GB, free: 12.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1435, allocations: 0 / 0.4911 GB, free: 12.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1435, allocations: 0 / 0.4911 GB, free: 12.37 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.00626/0.1497, allocations: 2.205 MB / 0.4932 GB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1498, allocations: 12.03 kB / 0.4932 GB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.1518, allocations: 295.3 kB / 0.4935 GB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.1539, allocations: 1.012 MB / 0.4945 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005097/0.1544, allocations: 279.7 kB / 0.4948 GB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1546, allocations: 39.98 kB / 0.4948 GB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006801/0.1614, allocations: 2.292 MB / 0.4971 GB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1614, allocations: 0 / 0.4971 GB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.1615, allocations: 23.94 kB / 0.4971 GB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.1615, allocations: 12 kB / 0.4971 GB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.1737, allocations: 3.581 MB / 0.5006 GB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3082/0.482, allocations: 2.803 MB / 0.5033 GB, free: 26.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0085/0.4905, allocations: 2.238 MB / 0.5055 GB, free: 26.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006257/0.4967, allocations: 1.76 MB / 0.5072 GB, free: 26.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.4968, allocations: 5.219 kB / 0.5072 GB, free: 26.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.4969, allocations: 47.53 kB / 0.5073 GB, free: 26.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.506e-06/0.4969, allocations: 0 / 0.5073 GB, free: 26.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.01893/0.5158, allocations: 5.228 MB / 0.5124 GB, free: 26.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.516, allocations: 399.9 kB / 0.5128 GB, free: 25.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.5186, allocations: 1.489 MB / 0.5142 GB, free: 24.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.54e-05/0.5187, allocations: 31.73 kB / 0.5143 GB, free: 24.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.519, allocations: 397 kB / 0.5146 GB, free: 24.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.5191, allocations: 117.5 kB / 0.5147 GB, free: 24.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.5195, allocations: 136.7 kB / 0.5149 GB, free: 24.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.5195, allocations: 333 kB / 0.5152 GB, free: 24.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005864/0.5254, allocations: 1.815 MB / 0.517 GB, free: 23.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006018/0.5314, allocations: 1.987 MB / 0.5189 GB, free: 22.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.5419, allocations: 3.417 MB / 0.5222 GB, free: 20.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5419, allocations: 0 / 0.5222 GB, free: 20.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01126/0.5531, allocations: 3.761 MB / 0.5259 GB, free: 17.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.5532, allocations: 15.75 kB / 0.5259 GB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5532, allocations: 4 kB / 0.5259 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/0.5532, allocations: 7.984 kB / 0.5259 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.5562, allocations: 0.7312 MB / 0.5267 GB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.5562, allocations: 4 kB / 0.5267 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/0.5596, allocations: 0.708 MB / 0.5274 GB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.5597, allocations: 23.98 kB / 0.5274 GB, free: 15.96 MB / 366.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.000502/0.5602, allocations: 340 kB / 0.5277 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.5605, allocations: 95.39 kB / 0.5278 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.5606, allocations: 100.2 kB / 0.5279 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5606, allocations: 7.188 kB / 0.5279 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.5606, allocations: 4 kB / 0.5279 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5606, allocations: 4 kB / 0.5279 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.5617, allocations: 0.8817 MB / 0.5288 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5617, allocations: 0 / 0.5288 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/0.5644, allocations: 0.6884 MB / 0.5294 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.5644, allocations: 7.75 kB / 0.5294 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.5645, allocations: 10.62 kB / 0.5294 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.5645, allocations: 7.984 kB / 0.5295 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5645, allocations: 3.938 kB / 0.5295 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/0.575, allocations: 3.964 MB / 0.5333 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.5753, allocations: 123.5 kB / 0.5334 GB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.5755, allocations: 11.75 kB / 0.5335 GB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/0.5787, allocations: 0.6747 MB / 0.5341 GB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003668/0.579, allocations: 151.7 kB / 0.5343 GB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.5791, allocations: 12 kB / 0.5343 GB, free: 8.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.5806, allocations: 1.099 MB / 0.5353 GB, free: 7.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5806, allocations: 0 / 0.5353 GB, free: 7.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001184/0.5818, allocations: 408.5 kB / 0.5357 GB, free: 7.359 MB / 366.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.0007103/0.5825, allocations: 386.9 kB / 0.5361 GB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01064/0.5931, allocations: 3.625 MB / 0.5396 GB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5931, allocations: 0 / 0.5396 GB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005461/0.5986, allocations: 1.964 MB / 0.5416 GB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6002, allocations: 250.3 kB / 0.5418 GB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/0.6086, allocations: 3.138 MB / 0.5449 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.6094, allocations: 1.108 MB / 0.546 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001026/0.6104, allocations: 291.2 kB / 0.5462 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.6109, allocations: 75.38 kB / 0.5463 GB, free: 12.48 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6109, allocations: 4 kB / 0.5463 GB, free: 12.48 MB / 382.1 MB Notification: Performance of Templates: time 0.03995/0.6509, allocations: 25.29 MB / 0.571 GB, free: 3.371 MB / 398.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 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.022395389154553] Failed to read output from testmodel.py, exit status != 0: 0.6584778502583504 0.673302563 0.526845812 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3d340917b0>