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.0009142/0.0009142, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009255/0.0009255, allocations: 169 kB / 23.02 MB, free: 1.543 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.893/0.893, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.01791/0.01791, allocations: 4.086 MB / 264 MB, free: 9.062 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.472e-06/1.472e-06, allocations: 0 / 334.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.893e-05, allocations: 2.312 kB / 334.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004367/0.004386, allocations: 3.623 MB / 338.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.009523, allocations: 3.436 MB / 341.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.009806, allocations: 8 kB / 341.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.01066, allocations: 270.9 kB / 342.2 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.01276, allocations: 0.9339 MB / 343.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.01322, allocations: 247.5 kB / 343.4 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.01439, allocations: 1.191 MB / 344.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.01466, allocations: 216.8 kB / 344.8 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.01522, allocations: 0.6547 MB / 345.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.01584, allocations: 0.76 MB / 346.2 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.01598, allocations: 112 kB / 346.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.0173, allocations: 0.9826 MB / 347.3 MB, free: 3.012 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.01762, allocations: 0.5142 MB / 347.8 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.01794, allocations: 415 kB / 348.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.01949, allocations: 1.686 MB / 349.9 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01949, allocations: 0 / 349.9 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01949, allocations: 0 / 349.9 MB, free: 408 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.0195, allocations: 0 / 349.9 MB, free: 408 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.002689/0.02219, allocations: 1.989 MB / 351.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.02222, allocations: 12.03 kB / 351.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.02325, allocations: 347.3 kB / 352.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.02437, allocations: 0.8285 MB / 353.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.02474, allocations: 491 kB / 353.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.02483, allocations: 44 kB / 353.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.02645, allocations: 1.02 MB / 354.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.02646, allocations: 4 kB / 354.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.02652, allocations: 23.94 kB / 354.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.02653, allocations: 12 kB / 354.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.0272, allocations: 275.6 kB / 354.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.02908, allocations: 2.957 MB / 357.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.02956, allocations: 302.6 kB / 358.2 MB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.02986, allocations: 170.1 kB / 358.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.02992, allocations: 8 kB / 358.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.02995, allocations: 53.31 kB / 358.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.193e-06/0.02995, allocations: 0 / 358.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001158/0.03111, allocations: 484.8 kB / 358.9 MB, free: 6.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.03121, allocations: 397.5 kB / 359.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009184/0.03213, allocations: 1.03 MB / 360.3 MB, free: 5.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.03219, allocations: 37.92 kB / 360.3 MB, free: 5.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.03243, allocations: 491.3 kB / 360.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.03253, allocations: 126.9 kB / 360.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.03275, allocations: 127.8 kB / 361.1 MB, free: 4.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003449/0.03309, allocations: 0.5004 MB / 361.6 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.03345, allocations: 144.9 kB / 361.7 MB, free: 3.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.03395, allocations: 0.5287 MB / 362.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.03452, allocations: 384.5 kB / 362.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.03452, allocations: 0 / 362.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009837/0.03551, allocations: 0.535 MB / 363.1 MB, free: 2.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.03552, allocations: 10.66 kB / 363.1 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.03553, allocations: 3.984 kB / 363.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.03554, allocations: 4 kB / 363.2 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008638/0.0364, allocations: 395.7 kB / 363.5 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.03641, allocations: 7.938 kB / 363.5 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008963/0.03731, allocations: 363.3 kB / 363.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.03737, allocations: 24 kB / 363.9 MB, free: 1.539 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.0002009/0.03757, allocations: 184.4 kB / 364.1 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.03776, allocations: 107.3 kB / 364.2 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.303e-05/0.03784, allocations: 87.22 kB / 364.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.03784, allocations: 4 kB / 364.3 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.03785, allocations: 4 kB / 364.3 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.03785, allocations: 3.938 kB / 364.3 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.0385, allocations: 0.5626 MB / 364.9 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.0385, allocations: 0 / 364.9 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/0.03921, allocations: 355.5 kB / 365.2 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.03921, allocations: 0 / 365.2 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.03925, allocations: 15.98 kB / 365.2 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.03925, allocations: 3.938 kB / 365.2 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.03925, allocations: 4 kB / 365.2 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00094/0.04019, allocations: 1.116 MB / 366.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.0403, allocations: 103.3 kB / 366.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.04042, allocations: 8 kB / 366.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/0.04134, allocations: 347.6 kB / 366.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.04158, allocations: 115.7 kB / 366.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.04162, allocations: 19.98 kB / 366.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000634/0.04226, allocations: 0.6746 MB / 367.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04226, allocations: 0 / 367.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007776/0.04304, allocations: 435.2 kB / 368 MB, free: 13.36 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.0005811/0.04362, allocations: 406.5 kB / 368.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.04468, allocations: 376.5 kB / 368.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04468, allocations: 0 / 368.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.04505, allocations: 184.1 kB / 369 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.04595, allocations: 309.7 kB / 369.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.04934, allocations: 2.125 MB / 371.4 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.04952, allocations: 249.5 kB / 371.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005225/0.05004, allocations: 208.5 kB / 371.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.05041, allocations: 68.45 kB / 371.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.05041, allocations: 0 / 371.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of Templates: time 0.02785/0.07826, allocations: 28.82 MB / 400.7 MB, free: 12.81 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.0475629190914333]