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.00181/0.00181, allocations: 85.48 kB / 19.44 MB, free: 344 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.001993/0.001993, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.03159/0.03159, allocations: 4.079 MB / 263.6 MB, free: 9.066 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.335e-06/2.335e-06, allocations: 0 / 334.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.695e-05, allocations: 6.25 kB / 334.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.00361/0.003637, allocations: 3.577 MB / 337.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.007457, allocations: 3.42 MB / 341.2 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.0077, allocations: 4 kB / 341.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000718/0.008419, allocations: 267 kB / 341.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.01011, allocations: 0.9262 MB / 342.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.0105, allocations: 251.5 kB / 342.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009103/0.01141, allocations: 1.199 MB / 343.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.01171, allocations: 212.8 kB / 344 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.0122, allocations: 0.6391 MB / 344.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/0.01289, allocations: 0.7678 MB / 345.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.01306, allocations: 120 kB / 345.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.0145, allocations: 0.9709 MB / 346.5 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.01485, allocations: 0.522 MB / 347 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.01521, allocations: 419 kB / 347.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.01742, allocations: 2.038 MB / 349.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01742, allocations: 0 / 349.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01742, allocations: 0 / 349.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.01744, allocations: 0 / 349.5 MB, free: 15.37 MB / 282.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.005814/0.02326, allocations: 2.044 MB / 351.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.0233, allocations: 8.031 kB / 351.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.02575, allocations: 351.3 kB / 351.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.02812, allocations: 0.8589 MB / 352.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006184/0.02873, allocations: 487 kB / 353.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.02887, allocations: 44 kB / 353.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.03297, allocations: 1.529 MB / 354.8 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.03299, allocations: 4 kB / 354.8 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/0.03308, allocations: 16 kB / 354.8 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.0331, allocations: 12 kB / 354.8 MB, free: 9.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005935/0.03904, allocations: 1.518 MB / 356.3 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.0439, allocations: 3.113 MB / 359.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.04777, allocations: 1.076 MB / 360.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.05072, allocations: 0.7788 MB / 361.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.05083, allocations: 4 kB / 361.3 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.05089, allocations: 57.38 kB / 361.3 MB, free: 2.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.05089, allocations: 0 / 361.3 MB, free: 2.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.009154/0.06004, allocations: 2.276 MB / 363.6 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002932/0.06034, allocations: 401.4 kB / 364 MB, free: 192 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.06323, allocations: 1.335 MB / 365.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.06334, allocations: 33.7 kB / 365.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005391/0.06388, allocations: 0.5111 MB / 365.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.06408, allocations: 127 kB / 366 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.06449, allocations: 143.8 kB / 366.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002944/0.06479, allocations: 0.5043 MB / 366.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002994/0.06778, allocations: 0.7659 MB / 367.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003325/0.07111, allocations: 1.173 MB / 368.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005647/0.07675, allocations: 1.542 MB / 370.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.07676, allocations: 0 / 370.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00682/0.08358, allocations: 1.742 MB / 371.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.08361, allocations: 7.984 kB / 371.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.08362, allocations: 4 kB / 371.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.08364, allocations: 4 kB / 371.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.08562, allocations: 395.6 kB / 372.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.08563, allocations: 4 kB / 372.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.088, allocations: 355.5 kB / 372.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.08812, allocations: 27.92 kB / 372.7 MB, free: 7.328 MB / 298.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.0005308/0.08865, allocations: 292.3 kB / 372.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.08906, allocations: 107.4 kB / 373.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.08925, allocations: 79.22 kB / 373.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.08926, allocations: 4 kB / 373.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.08927, allocations: 4 kB / 373.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.08928, allocations: 3.984 kB / 373.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.09069, allocations: 0.6991 MB / 373.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.09069, allocations: 4 kB / 373.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.09247, allocations: 347.5 kB / 374.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.09247, allocations: 4 kB / 374.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.09255, allocations: 11.98 kB / 374.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.09256, allocations: 4 kB / 374.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.09256, allocations: 4 kB / 374.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006584/0.09915, allocations: 2.314 MB / 376.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.09944, allocations: 99.34 kB / 376.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.09967, allocations: 12 kB / 376.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/0.1019, allocations: 335.6 kB / 377 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/0.1023, allocations: 119.8 kB / 377.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.1024, allocations: 19.92 kB / 377.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001876/0.1043, allocations: 0.8971 MB / 378 MB, free: 1.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1043, allocations: 0 / 378 MB, free: 1.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001462/0.1057, allocations: 435.3 kB / 378.4 MB, free: 1.496 MB / 298.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.0009998/0.1067, allocations: 418.3 kB / 378.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006523/0.1133, allocations: 1.605 MB / 380.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1133, allocations: 0 / 380.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003056/0.1163, allocations: 0.808 MB / 381.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.1181, allocations: 313.4 kB / 381.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/0.1257, allocations: 2.371 MB / 383.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.1263, allocations: 481.8 kB / 384.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.1273, allocations: 208.5 kB / 384.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/0.1279, allocations: 60.47 kB / 384.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1279, allocations: 4 kB / 384.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of Templates: time 0.04658/0.1744, allocations: 26.79 MB / 411.4 MB, free: 0.6289 MB / 330.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: 5.385825673933141]