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.0009092/0.0009092, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009797/0.0009797, allocations: 169 kB / 23.02 MB, free: 1.547 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.9531/0.9531, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.01734/0.01734, allocations: 4.077 MB / 264 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 1.422e-06/1.422e-06, allocations: 0 / 334.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.547e-05, allocations: 2.312 kB / 334.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.002824/0.00284, allocations: 3.629 MB / 338.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.005854, allocations: 3.423 MB / 341.9 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.006044, allocations: 8 kB / 341.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.006629, allocations: 270.9 kB / 342.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.007947, allocations: 0.9262 MB / 343.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.008245, allocations: 259.4 kB / 343.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008474/0.009093, allocations: 1.195 MB / 344.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.009376, allocations: 213.5 kB / 344.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.009913, allocations: 0.6353 MB / 345.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005478/0.01046, allocations: 0.7795 MB / 346.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.01061, allocations: 112 kB / 346.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.01171, allocations: 0.9825 MB / 347.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.01198, allocations: 0.5104 MB / 347.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.01224, allocations: 415 kB / 348.2 MB, free: 1.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.01355, allocations: 1.687 MB / 349.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01355, allocations: 0 / 349.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01355, allocations: 0 / 349.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.01356, allocations: 0 / 349.9 MB, free: 15.33 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.002409/0.01597, allocations: 1.985 MB / 351.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.016, allocations: 8.031 kB / 351.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.017, allocations: 351.3 kB / 352.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.01804, allocations: 0.8324 MB / 353.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.01834, allocations: 491 kB / 353.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.01842, allocations: 40 kB / 353.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.01969, allocations: 1.056 MB / 354.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.01971, allocations: 3.938 kB / 354.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.124e-05/0.01979, allocations: 28 kB / 354.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.0198, allocations: 12 kB / 354.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.02047, allocations: 288.5 kB / 355 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.02257, allocations: 2.956 MB / 357.9 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.02306, allocations: 294.6 kB / 358.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.02338, allocations: 166.1 kB / 358.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.899e-05/0.02345, allocations: 8 kB / 358.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.02348, allocations: 45.33 kB / 358.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.333e-06/0.02348, allocations: 0 / 358.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001189/0.02467, allocations: 497.8 kB / 358.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.02477, allocations: 397.5 kB / 359.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.0257, allocations: 1.031 MB / 360.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.02575, allocations: 29.7 kB / 360.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/0.02628, allocations: 499.2 kB / 360.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.02638, allocations: 115.1 kB / 361 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.02661, allocations: 135.7 kB / 361.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.02672, allocations: 0.5081 MB / 361.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.02708, allocations: 140.9 kB / 361.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.02759, allocations: 0.5287 MB / 362.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.02817, allocations: 388.2 kB / 362.6 MB, free: 1.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02817, allocations: 4 kB / 362.6 MB, free: 1.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009962/0.02917, allocations: 0.5251 MB / 363.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.02918, allocations: 8 kB / 363.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.02919, allocations: 0 / 363.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.02921, allocations: 8.188 kB / 363.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.03009, allocations: 395.4 kB / 363.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.0301, allocations: 8 kB / 363.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009278/0.03103, allocations: 355.5 kB / 363.9 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.03109, allocations: 23.98 kB / 363.9 MB, free: 440 kB / 282.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.03129, allocations: 192.3 kB / 364.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.0315, allocations: 99.44 kB / 364.2 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.904e-05/0.03158, allocations: 83.22 kB / 364.3 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.03159, allocations: 8 kB / 364.3 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.03159, allocations: 0 / 364.3 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.03159, allocations: 3.984 kB / 364.3 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.03229, allocations: 0.5703 MB / 364.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.03229, allocations: 8 kB / 364.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/0.03304, allocations: 355.5 kB / 365.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.03304, allocations: 7.984 kB / 365.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.03308, allocations: 12 kB / 365.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.03309, allocations: 3.938 kB / 365.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.03309, allocations: 7.984 kB / 365.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.03407, allocations: 1.108 MB / 366.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.03418, allocations: 99.34 kB / 366.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.03429, allocations: 12 kB / 366.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009332/0.03523, allocations: 335.6 kB / 366.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.03546, allocations: 119.7 kB / 366.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.0355, allocations: 19.98 kB / 367 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00089/0.03639, allocations: 0.6785 MB / 367.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03639, allocations: 0 / 367.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008147/0.03721, allocations: 435.2 kB / 368.1 MB, free: 12.24 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.0006052/0.03781, allocations: 414.4 kB / 368.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008575/0.03867, allocations: 372.2 kB / 368.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.03867, allocations: 0 / 368.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.03906, allocations: 183.9 kB / 369 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009585/0.04002, allocations: 318 kB / 369.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.04375, allocations: 2.117 MB / 371.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.04396, allocations: 253.5 kB / 371.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005528/0.04451, allocations: 200.5 kB / 371.9 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.04489, allocations: 68.47 kB / 372 MB, free: 8.254 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.04489, allocations: 0 / 372 MB, free: 8.254 MB / 298.7 MB Notification: Performance of Templates: time 0.02681/0.0717, allocations: 26.83 MB / 398.8 MB, free: 13.69 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: 3.7212103311903775]