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.001569/0.001569, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.002095/0.002095, allocations: 214.3 kB / 23 MB, free: 5.113 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.02791/0.02791, allocations: 5.295 MB / 318.5 MB, free: 13.91 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.002045/0.002045, allocations: 72.12 kB / 443.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1324, allocations: 54.55 MB / 497.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005876/0.1382, allocations: 3.685 MB / 0.4897 GB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005979/0.1442, allocations: 3.56 MB / 0.4932 GB, free: 10 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.1445, allocations: 8 kB / 0.4932 GB, free: 9.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009952/0.1455, allocations: 291 kB / 0.4935 GB, free: 9.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.1479, allocations: 0.9151 MB / 0.4944 GB, free: 8.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.1484, allocations: 242.3 kB / 0.4946 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.1502, allocations: 1.164 MB / 0.4957 GB, free: 7.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/0.1507, allocations: 224.6 kB / 0.496 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007377/0.1515, allocations: 498.4 kB / 0.4964 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.1527, allocations: 0.8568 MB / 0.4973 GB, free: 5.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.1529, allocations: 112 kB / 0.4974 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.1558, allocations: 1.131 MB / 0.4985 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007125/0.1565, allocations: 0.5103 MB / 0.499 GB, free: 4.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.1574, allocations: 0.5715 MB / 0.4995 GB, free: 3.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.1611, allocations: 1.908 MB / 0.5014 GB, free: 1.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.1611, allocations: 0 / 0.5014 GB, free: 1.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.1611, allocations: 0 / 0.5014 GB, free: 1.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.1612, allocations: 0 / 0.5014 GB, free: 1.562 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.008028/0.1692, allocations: 2.213 MB / 0.5036 GB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.764e-05/0.1693, allocations: 12.03 kB / 0.5036 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.1714, allocations: 295.3 kB / 0.5039 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.1741, allocations: 1.016 MB / 0.5049 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008274/0.1749, allocations: 0.5146 MB / 0.5054 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.175, allocations: 40 kB / 0.5054 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007239/0.1823, allocations: 2.294 MB / 0.5076 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.1823, allocations: 3.938 kB / 0.5076 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.1824, allocations: 31.92 kB / 0.5077 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.1824, allocations: 8 kB / 0.5077 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.195, allocations: 3.573 MB / 0.5112 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/0.2011, allocations: 2.806 MB / 0.5139 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007598/0.2087, allocations: 2.247 MB / 0.5161 GB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005672/0.2144, allocations: 1.757 MB / 0.5178 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.2145, allocations: 4 kB / 0.5178 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.104e-05/0.2146, allocations: 50.5 kB / 0.5179 GB, free: 292 kB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 3.406e-06/0.2146, allocations: 0 / 0.5179 GB, free: 292 kB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.3031/0.5177, allocations: 5.205 MB / 0.523 GB, free: 33.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.5179, allocations: 399.4 kB / 0.5233 GB, free: 32.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/0.5216, allocations: 1.493 MB / 0.5248 GB, free: 32.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.5218, allocations: 32.86 kB / 0.5248 GB, free: 32.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.5223, allocations: 396.5 kB / 0.5252 GB, free: 32.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.5226, allocations: 121.3 kB / 0.5253 GB, free: 32.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005974/0.5232, allocations: 132 kB / 0.5254 GB, free: 32.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.5233, allocations: 326.4 kB / 0.5258 GB, free: 32.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006275/0.5295, allocations: 1.823 MB / 0.5275 GB, free: 32.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006265/0.5358, allocations: 1.994 MB / 0.5295 GB, free: 31.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.5467, allocations: 3.413 MB / 0.5328 GB, free: 30.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.5467, allocations: 0 / 0.5328 GB, free: 30.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01203/0.5588, allocations: 3.771 MB / 0.5365 GB, free: 29.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.5588, allocations: 5.5 kB / 0.5365 GB, free: 29.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5588, allocations: 10.42 kB / 0.5365 GB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/0.5588, allocations: 5.5 kB / 0.5365 GB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/0.5619, allocations: 0.7263 MB / 0.5372 GB, free: 28.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/0.5619, allocations: 5.188 kB / 0.5372 GB, free: 28.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/0.5656, allocations: 0.709 MB / 0.5379 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.5658, allocations: 25.8 kB / 0.5379 GB, free: 28.58 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.0007581/0.5665, allocations: 340.8 kB / 0.5383 GB, free: 28.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008208/0.5673, allocations: 99.83 kB / 0.5384 GB, free: 28.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.5676, allocations: 106.4 kB / 0.5385 GB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5676, allocations: 5.812 kB / 0.5385 GB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.5676, allocations: 1.938 kB / 0.5385 GB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5676, allocations: 4.438 kB / 0.5385 GB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.5693, allocations: 0.8825 MB / 0.5393 GB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.5693, allocations: 3.938 kB / 0.5393 GB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/0.572, allocations: 0.684 MB / 0.54 GB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.572, allocations: 3.938 kB / 0.54 GB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-05/0.5721, allocations: 11.88 kB / 0.54 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.5721, allocations: 3.984 kB / 0.54 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.5721, allocations: 11.81 kB / 0.54 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.5823, allocations: 3.952 MB / 0.5439 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.5827, allocations: 123.9 kB / 0.544 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/0.5831, allocations: 8 kB / 0.544 GB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/0.5864, allocations: 0.6743 MB / 0.5447 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003971/0.5868, allocations: 147.7 kB / 0.5448 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/0.5868, allocations: 20.73 kB / 0.5448 GB, free: 22.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0019/0.5887, allocations: 1.098 MB / 0.5459 GB, free: 21.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5887, allocations: 0 / 0.5459 GB, free: 21.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001676/0.5904, allocations: 418.7 kB / 0.5463 GB, free: 21.5 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.001112/0.5915, allocations: 398.7 kB / 0.5467 GB, free: 21.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01022/0.6017, allocations: 3.637 MB / 0.5503 GB, free: 17.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.6017, allocations: 0 / 0.5503 GB, free: 17.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005316/0.6071, allocations: 1.97 MB / 0.5522 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.6094, allocations: 242.8 kB / 0.5524 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008928/0.6183, allocations: 3.113 MB / 0.5554 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.6189, allocations: 1.081 MB / 0.5565 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008816/0.6198, allocations: 79.39 kB / 0.5566 GB, free: 10.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6198, allocations: 0 / 0.5566 GB, free: 10.99 MB / 382.1 MB Notification: Performance of Templates: time 0.03575/0.6556, allocations: 22.11 MB / 0.5782 GB, free: 4.996 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: 12.35390871600248] Failed to read output from testmodel.py, exit status != 0: 0.6659547830931842 0.685719304 0.5209462490000001 Calling exit ...