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.001312/0.001312, allocations: 110.5 kB / 17.08 MB, free: 5.984 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.001262/0.001262, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.365/1.365, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 179] 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.1332/0.1332, allocations: 5.206 MB / 303.1 MB, free: 3.68 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.001875/0.001875, allocations: 67.89 kB / 418.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2553, allocations: 50.56 MB / 469 MB, free: 21.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004329/0.2597, allocations: 3.641 MB / 472.7 MB, free: 18.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.2642, allocations: 3.455 MB / 476.1 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.2645, allocations: 5.375 kB / 476.1 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.2653, allocations: 295.4 kB / 476.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.2676, allocations: 0.9072 MB / 477.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.2681, allocations: 237.7 kB / 477.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.2695, allocations: 1.16 MB / 478.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005302/0.2701, allocations: 386.9 kB / 479.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006652/0.2708, allocations: 492.8 kB / 479.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.2718, allocations: 0.8143 MB / 480.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.272, allocations: 113.4 kB / 480.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.2743, allocations: 1.069 MB / 481.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.2749, allocations: 0.5059 MB / 482.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006194/0.2756, allocations: 0.5685 MB / 482.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.2784, allocations: 1.894 MB / 484.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2784, allocations: 1.156 kB / 484.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2784, allocations: 0 / 484.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.2784, allocations: 0 / 484.5 MB, free: 12.66 MB / 350.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.006136/0.2845, allocations: 2.279 MB / 486.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2846, allocations: 9.062 kB / 486.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.2867, allocations: 295.8 kB / 487.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.2886, allocations: 1.082 MB / 488.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004457/0.2891, allocations: 275.8 kB / 488.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2892, allocations: 38.16 kB / 488.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006605/0.2958, allocations: 2.303 MB / 490.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2958, allocations: 2.875 kB / 490.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.2959, allocations: 20.41 kB / 490.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.296, allocations: 10.78 kB / 490.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.3074, allocations: 3.576 MB / 494.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.3107, allocations: 2.847 MB / 497.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006866/0.3175, allocations: 2.256 MB / 499.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005249/0.3228, allocations: 1.769 MB / 0.4895 GB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.276e-05/0.3229, allocations: 7.984 kB / 0.4895 GB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.323, allocations: 46.5 kB / 0.4896 GB, free: 1.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.316e-06/0.323, allocations: 3.984 kB / 0.4896 GB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.01849/0.3415, allocations: 5.213 MB / 0.4947 GB, free: 11.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002509/0.3417, allocations: 405.4 kB / 0.4951 GB, free: 11.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.3452, allocations: 1.498 MB / 0.4965 GB, free: 9.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.3454, allocations: 29.7 kB / 0.4965 GB, free: 9.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.3458, allocations: 400.9 kB / 0.4969 GB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.3461, allocations: 115.1 kB / 0.497 GB, free: 9.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/0.3466, allocations: 130.2 kB / 0.4972 GB, free: 9.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3468, allocations: 326 kB / 0.4975 GB, free: 8.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00624/0.353, allocations: 1.827 MB / 0.4993 GB, free: 7.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006409/0.3595, allocations: 1.99 MB / 0.5012 GB, free: 4.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/0.3716, allocations: 3.409 MB / 0.5045 GB, free: 1.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.3717, allocations: 4 kB / 0.5045 GB, free: 1.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01353/0.3852, allocations: 3.766 MB / 0.5082 GB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3853, allocations: 4 kB / 0.5082 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3853, allocations: 4 kB / 0.5082 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.3853, allocations: 5.031 kB / 0.5082 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.3887, allocations: 0.7333 MB / 0.5089 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.498e-05/0.3888, allocations: 7.938 kB / 0.5089 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/0.3932, allocations: 0.6941 MB / 0.5096 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.3934, allocations: 27.98 kB / 0.5097 GB, free: 12.28 MB / 382.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.00116/0.3945, allocations: 353.4 kB / 0.51 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006799/0.3952, allocations: 99.33 kB / 0.5101 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.3956, allocations: 100.2 kB / 0.5102 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3956, allocations: 4 kB / 0.5102 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.3956, allocations: 3.938 kB / 0.5102 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.3957, allocations: 7.984 kB / 0.5102 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.3978, allocations: 0.9115 MB / 0.5111 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3979, allocations: 4 kB / 0.5111 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/0.4011, allocations: 0.6942 MB / 0.5118 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.4011, allocations: 4 kB / 0.5118 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/0.4012, allocations: 19.91 kB / 0.5118 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.4012, allocations: 4 kB / 0.5118 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4013, allocations: 3.938 kB / 0.5118 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/0.4143, allocations: 3.961 MB / 0.5157 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006028/0.415, allocations: 192.4 kB / 0.5158 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/0.4156, allocations: 8 kB / 0.5159 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004013/0.4196, allocations: 0.6747 MB / 0.5165 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/0.4202, allocations: 147.8 kB / 0.5167 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.4203, allocations: 19.98 kB / 0.5167 GB, free: 4.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002538/0.4228, allocations: 1.11 MB / 0.5178 GB, free: 3.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4229, allocations: 0 / 0.5178 GB, free: 3.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002136/0.425, allocations: 407.4 kB / 0.5181 GB, free: 3.457 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.001557/0.4266, allocations: 378.4 kB / 0.5185 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01326/0.4398, allocations: 3.658 MB / 0.5221 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.4399, allocations: 4 kB / 0.5221 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006867/0.4468, allocations: 1.97 MB / 0.524 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.4493, allocations: 246 kB / 0.5242 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.4596, allocations: 3.117 MB / 0.5273 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009883/0.4607, allocations: 1.077 MB / 0.5283 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009425/0.4616, allocations: 71.39 kB / 0.5284 GB, free: 8.855 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4617, allocations: 0 / 0.5284 GB, free: 8.855 MB / 398.1 MB Notification: Performance of Templates: time 0.03652/0.4982, allocations: 21.4 MB / 0.5493 GB, free: 3.578 MB / 414.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: 10.449215000960976] Failed to read output from testmodel.py, exit status != 0: 0.5054494941141456 0.51875733 0.23784870500000002 Calling exit ...