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.001386/0.001386, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001532/0.001532, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.434/1.434, allocations: 177.2 MB / 202.8 MB, free: 9.156 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.02709/0.02709, allocations: 4.089 MB / 263.3 MB, free: 12.68 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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 388.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.853e-05, allocations: 2.281 kB / 388.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005092/0.005121, allocations: 3.371 MB / 391.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.01048, allocations: 3.21 MB / 394.7 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.01072, allocations: 8 kB / 394.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.01159, allocations: 267 kB / 394.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.01382, allocations: 0.9261 MB / 395.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.01437, allocations: 243.5 kB / 396.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.01605, allocations: 1.213 MB / 397.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.01647, allocations: 208.8 kB / 397.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008112/0.01728, allocations: 0.6353 MB / 398.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.01837, allocations: 0.7717 MB / 398.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.01864, allocations: 115.9 kB / 399 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.02058, allocations: 0.9787 MB / 400 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.02116, allocations: 0.5142 MB / 400.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.02171, allocations: 419 kB / 400.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.02437, allocations: 2.034 MB / 403 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.02437, allocations: 8 kB / 403 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02437, allocations: 0 / 403 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.02439, allocations: 0 / 403 MB, free: 15.3 MB / 334.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.006802/0.03119, allocations: 2.186 MB / 405.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.03124, allocations: 16.02 kB / 405.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.03351, allocations: 295.3 kB / 405.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.03577, allocations: 1.02 MB / 406.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006759/0.03645, allocations: 0.5146 MB / 407 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.03657, allocations: 36 kB / 407 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007823/0.04439, allocations: 2.53 MB / 409.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.04441, allocations: 3.938 kB / 409.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.04452, allocations: 19.94 kB / 409.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.04453, allocations: 12 kB / 409.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.05781, allocations: 3.573 MB / 413.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.06202, allocations: 2.411 MB / 415.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008125/0.07014, allocations: 2.239 MB / 417.8 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006477/0.07662, allocations: 1.757 MB / 419.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.07672, allocations: 11.94 kB / 419.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.07677, allocations: 42.55 kB / 419.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.477e-06/0.07678, allocations: 0 / 419.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.02005/0.09682, allocations: 5.201 MB / 424.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002578/0.09708, allocations: 405.5 kB / 425.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.09967, allocations: 1.38 MB / 426.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.09979, allocations: 33.7 kB / 426.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.1002, allocations: 412.6 kB / 427 MB, free: 6.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.1004, allocations: 111 kB / 427.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.1007, allocations: 134.1 kB / 427.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1009, allocations: 329.9 kB / 427.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006752/0.1077, allocations: 1.827 MB / 429.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007001/0.1147, allocations: 2.2 MB / 431.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/0.1275, allocations: 3.414 MB / 435.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1275, allocations: 0 / 435.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01403/0.1415, allocations: 3.761 MB / 438.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1416, allocations: 8 kB / 438.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1416, allocations: 0 / 438.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1416, allocations: 8 kB / 438.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003594/0.1452, allocations: 0.7294 MB / 439.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.1452, allocations: 7.984 kB / 439.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/0.1492, allocations: 0.6864 MB / 440.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.1493, allocations: 23.98 kB / 440.3 MB, free: 9.254 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.00062/0.1499, allocations: 345.5 kB / 440.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.1502, allocations: 95.52 kB / 440.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.1504, allocations: 91.22 kB / 440.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1504, allocations: 4 kB / 440.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.1504, allocations: 4 kB / 440.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1504, allocations: 0 / 440.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.1516, allocations: 0.5824 MB / 441.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.1516, allocations: 4 kB / 441.4 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003396/0.155, allocations: 0.6786 MB / 442.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.155, allocations: 8 kB / 442.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.1551, allocations: 11.98 kB / 442.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.1551, allocations: 4 kB / 442.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1551, allocations: 0 / 442.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/0.1685, allocations: 3.956 MB / 446 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.1687, allocations: 99.34 kB / 446.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.169, allocations: 8 kB / 446.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003879/0.1729, allocations: 0.6786 MB / 446.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004516/0.1733, allocations: 151.8 kB / 447 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.381e-05/0.1734, allocations: 19.98 kB / 447 MB, free: 2.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.1753, allocations: 1.026 MB / 448 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1753, allocations: 0 / 448 MB, free: 1.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001396/0.1767, allocations: 427.3 kB / 448.4 MB, free: 1.023 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.0009719/0.1776, allocations: 410.4 kB / 448.8 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.162/0.3396, allocations: 3.625 MB / 452.5 MB, free: 70.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.3396, allocations: 4.781 kB / 452.5 MB, free: 70.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006834/0.3464, allocations: 1.959 MB / 454.4 MB, free: 70.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.3483, allocations: 241.8 kB / 454.7 MB, free: 70.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008498/0.3568, allocations: 3.091 MB / 457.8 MB, free: 69.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.3574, allocations: 0.5093 MB / 458.3 MB, free: 69.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001048/0.3585, allocations: 291.2 kB / 458.6 MB, free: 68.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.359, allocations: 65.22 kB / 458.6 MB, free: 68.94 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.359, allocations: 0 / 458.6 MB, free: 68.94 MB / 366.1 MB Notification: Performance of Templates: time 0.03052/0.3895, allocations: 26.68 MB / 485.3 MB, free: 46.17 MB / 366.1 MB " [Timeout remaining time 660] 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: 5.217508811503649] Failed to read output from testmodel.py, exit status != 0: 0.3979354128241539 0.40675747199999995 0.38007521499999997 Calling exit ...