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.0008043/0.0008043, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001928, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006934/0.0006934, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009078/0.001601, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9563/0.9563, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08781/1.044, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 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.01666/0.01666, allocations: 4.089 MB / 248.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002598/0.01926, allocations: 1.609 MB / 249.7 MB, free: 9.242 MB / 250.7 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 1.863e-06/1.863e-06, allocations: 0 / 251 MB, free: 7.898 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.456e-05, allocations: 2.312 kB / 251 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003326/0.003341, allocations: 3.644 MB / 254.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.007032, allocations: 3.49 MB / 258.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.007222, allocations: 8 kB / 258.1 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.00774, allocations: 274.9 kB / 258.4 MB, free: 460 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.009325, allocations: 0.9066 MB / 259.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.009689, allocations: 243.5 kB / 259.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.01078, allocations: 1.188 MB / 260.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.01108, allocations: 226.7 kB / 261 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008213/0.0119, allocations: 0.8265 MB / 261.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.01255, allocations: 0.7638 MB / 262.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.01272, allocations: 116 kB / 262.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.01405, allocations: 1.01 MB / 263.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.01436, allocations: 419 kB / 264.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.01465, allocations: 291.4 kB / 264.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.01595, allocations: 1.43 MB / 265.8 MB, free: 9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.01597, allocations: 4 kB / 265.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01597, allocations: 0 / 265.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.01599, allocations: 0 / 265.8 MB, free: 8.996 MB / 266.7 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.002269/0.01826, allocations: 1.903 MB / 267.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.01829, allocations: 15.98 kB / 267.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008123/0.0191, allocations: 305.2 kB / 268 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.01994, allocations: 0.6958 MB / 268.7 MB, free: 6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.02023, allocations: 491 kB / 269.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.02031, allocations: 44 kB / 269.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009213/0.02123, allocations: 0.8527 MB / 270.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.02124, allocations: 0 / 270.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.0213, allocations: 27.88 kB / 270.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.02131, allocations: 12 kB / 270.1 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.02176, allocations: 224.4 kB / 270.4 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.02314, allocations: 1.82 MB / 272.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.02355, allocations: 488.8 kB / 272.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.02376, allocations: 121.1 kB / 272.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/0.02383, allocations: 7.938 kB / 272.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.02385, allocations: 42.56 kB / 272.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.02386, allocations: 0 / 272.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007984/0.02465, allocations: 337.2 kB / 273.1 MB, free: 1.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.02473, allocations: 191.9 kB / 273.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/0.0254, allocations: 0.8375 MB / 274.2 MB, free: 120 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.02545, allocations: 33.64 kB / 274.2 MB, free: 80 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.125/0.1504, allocations: 278.7 kB / 274.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.1507, allocations: 119.2 kB / 274.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.1509, allocations: 109.2 kB / 274.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.151, allocations: 330.8 kB / 275 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.1513, allocations: 107.7 kB / 275.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.1516, allocations: 430 kB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.1521, allocations: 344.1 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.1521, allocations: 1.281 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008277/0.1529, allocations: 404 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1529, allocations: 8.109 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1529, allocations: 3.312 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.153, allocations: 8.609 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009286/0.1539, allocations: 358 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1539, allocations: 5.125 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008767/0.1548, allocations: 279.5 kB / 276.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.1548, allocations: 20.38 kB / 276.9 MB, free: 14.04 MB / 266.7 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.0003118/0.1552, allocations: 140.2 kB / 277.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.1554, allocations: 68.27 kB / 277.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.1555, allocations: 81.05 kB / 277.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1555, allocations: 4.5 kB / 277.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1555, allocations: 2.281 kB / 277.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1555, allocations: 3.641 kB / 277.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.1561, allocations: 359.5 kB / 277.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1561, allocations: 4.531 kB / 277.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.1568, allocations: 312.3 kB / 277.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.157, allocations: 86.06 kB / 278 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.157, allocations: 6.562 kB / 278 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.157, allocations: 12.62 kB / 278 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.157, allocations: 3.828 kB / 278 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.157, allocations: 1.188 kB / 278 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.1577, allocations: 0.9779 MB / 279 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.1578, allocations: 8.25 kB / 279 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.1586, allocations: 263.9 kB / 279.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.1589, allocations: 125.6 kB / 279.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.1589, allocations: 15.41 kB / 279.4 MB, free: 13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005052/0.1594, allocations: 429.9 kB / 279.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1594, allocations: 0 / 279.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009784/0.1604, allocations: 435.6 kB / 280.2 MB, free: 12.96 MB / 266.7 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.0006886/0.1611, allocations: 405 kB / 280.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006808/0.1618, allocations: 290.6 kB / 280.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/0.1618, allocations: 10.66 kB / 280.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.1621, allocations: 164.6 kB / 281.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.1631, allocations: 373.2 kB / 281.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007622/0.1707, allocations: 1.793 MB / 283.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.171, allocations: 230 kB / 283.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0008803/0.1719, allocations: 123.2 kB / 283.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008129/0.1727, allocations: 272 kB / 283.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of SimCode: time 2.474e-06/0.1727, allocations: 0 / 283.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Templates: time 0.02842/0.2011, allocations: 28.24 MB / 312.1 MB, free: 5.578 MB / 282.7 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=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1132808681577444]