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.001368/0.001368, allocations: 81.64 kB / 19.87 MB, free: 4.613 MB / 18.57 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.001373/0.001373, allocations: 173 kB / 23.28 MB, free: 1.215 MB / 18.57 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.9324/0.9324, allocations: 177.2 MB / 203.7 MB, free: 5.504 MB / 186.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.01647/0.01647, allocations: 4.099 MB / 264.4 MB, free: 8.887 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 2.184e-06/2.184e-06, allocations: 0 / 335.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.78e-05, allocations: 4.422 kB / 335.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003169/0.003187, allocations: 3.589 MB / 338.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.00679, allocations: 3.417 MB / 342.3 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.00696, allocations: 4 kB / 342.3 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.007612, allocations: 266.9 kB / 342.6 MB, free: 7.875 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.009218, allocations: 0.934 MB / 343.5 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.009564, allocations: 243.5 kB / 343.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.01065, allocations: 1.21 MB / 345 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/0.01114, allocations: 213.5 kB / 345.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.01158, allocations: 0.6392 MB / 345.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.01212, allocations: 0.7717 MB / 346.6 MB, free: 3.848 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.01225, allocations: 116 kB / 346.7 MB, free: 3.734 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009789/0.01323, allocations: 0.9787 MB / 347.7 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.01353, allocations: 0.5142 MB / 348.2 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.01379, allocations: 415 kB / 348.6 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.01496, allocations: 1.679 MB / 350.3 MB, free: 152 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.01496, allocations: 4 kB / 350.3 MB, free: 148 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01497, allocations: 0 / 350.3 MB, free: 148 kB / 314.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.01497, allocations: 0 / 350.3 MB, free: 148 kB / 314.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.002079/0.01705, allocations: 1.868 MB / 352.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.01709, allocations: 8.031 kB / 352.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.01813, allocations: 259.5 kB / 352.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.01892, allocations: 0.7347 MB / 353.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.0192, allocations: 491 kB / 353.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/0.01928, allocations: 44 kB / 353.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.02019, allocations: 0.898 MB / 354.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.0202, allocations: 7.938 kB / 354.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/0.02026, allocations: 23.94 kB / 354.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.02027, allocations: 12 kB / 354.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.0207, allocations: 211.4 kB / 354.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.02228, allocations: 2.75 MB / 357.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.02263, allocations: 262.6 kB / 357.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.02285, allocations: 142 kB / 358 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.0229, allocations: 8 kB / 358 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.02293, allocations: 49.39 kB / 358 MB, free: 7.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.422e-06/0.02293, allocations: 0 / 358 MB, free: 7.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008921/0.02382, allocations: 417.2 kB / 358.4 MB, free: 7.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.02393, allocations: 397.7 kB / 358.8 MB, free: 7.016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/0.02478, allocations: 0.9714 MB / 359.8 MB, free: 6.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.02483, allocations: 33.7 kB / 359.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.02508, allocations: 0.4913 MB / 360.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.02518, allocations: 119 kB / 360.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.02538, allocations: 139.7 kB / 360.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.02548, allocations: 0.5003 MB / 361.1 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.02572, allocations: 104.9 kB / 361.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.0261, allocations: 0.4896 MB / 361.7 MB, free: 4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.02653, allocations: 326.2 kB / 362 MB, free: 3.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02653, allocations: 4 kB / 362 MB, free: 3.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007622/0.02729, allocations: 458.8 kB / 362.4 MB, free: 3.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.0273, allocations: 4.188 kB / 362.4 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.02731, allocations: 8 kB / 362.4 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.02732, allocations: 4 kB / 362.4 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.02805, allocations: 327.6 kB / 362.8 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.02806, allocations: 4 kB / 362.8 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.02882, allocations: 275.6 kB / 363 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.02887, allocations: 23.92 kB / 363.1 MB, free: 2.555 MB / 330.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.0001941/0.02907, allocations: 192.4 kB / 363.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.02925, allocations: 99.39 kB / 363.4 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.02933, allocations: 83.22 kB / 363.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.02933, allocations: 4 kB / 363.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02933, allocations: 4 kB / 363.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02934, allocations: 7.984 kB / 363.4 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.02989, allocations: 436.6 kB / 363.9 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.0299, allocations: 4 kB / 363.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.0305, allocations: 287.6 kB / 364.2 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.0305, allocations: 4 kB / 364.2 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.03054, allocations: 11.98 kB / 364.2 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.03054, allocations: 4 kB / 364.2 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.03054, allocations: 3.938 kB / 364.2 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.0313, allocations: 1.058 MB / 365.2 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.03139, allocations: 95.34 kB / 365.3 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.0315, allocations: 8 kB / 365.3 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000802/0.0323, allocations: 259.8 kB / 365.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.03248, allocations: 87.89 kB / 365.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.03251, allocations: 15.98 kB / 365.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004608/0.03298, allocations: 0.6158 MB / 366.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03298, allocations: 0 / 366.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00105/0.03403, allocations: 431.2 kB / 366.7 MB, free: 14.83 MB / 346.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.0006139/0.03464, allocations: 414.4 kB / 367.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006107/0.03525, allocations: 312.7 kB / 367.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.03525, allocations: 4 kB / 367.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.03554, allocations: 159.5 kB / 367.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008918/0.03643, allocations: 311.9 kB / 367.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.04012, allocations: 2.039 MB / 369.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.04036, allocations: 253.5 kB / 370.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006155/0.04097, allocations: 124.7 kB / 370.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009347/0.04191, allocations: 318 kB / 370.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04191, allocations: 0 / 370.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of Templates: time 0.03469/0.0766, allocations: 28.76 MB / 399.4 MB, free: 14.37 MB / 378.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.174459001980722]