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.0007857/0.0007857, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001863, allocations: 440 kB / 10.41 MB, free: 284 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.0007099/0.0007099, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002116, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9741/0.9741, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09054/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.02073/0.02073, allocations: 4.085 MB / 248.2 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002726/0.02345, allocations: 1.615 MB / 249.8 MB, free: 9.152 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.104e-06/2.104e-06, allocations: 0 / 251.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.219e-05, allocations: 2.312 kB / 251.2 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003404/0.003437, allocations: 3.652 MB / 254.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.006698, allocations: 3.494 MB / 258.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.006854, allocations: 4 kB / 258.4 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.007302, allocations: 270.9 kB / 258.6 MB, free: 340 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.008594, allocations: 0.8988 MB / 259.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.008929, allocations: 247.5 kB / 259.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.01015, allocations: 1.195 MB / 261 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.01044, allocations: 223.5 kB / 261.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008002/0.01124, allocations: 0.8304 MB / 262 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.01192, allocations: 0.7638 MB / 262.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.0121, allocations: 112 kB / 262.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.01342, allocations: 1.014 MB / 263.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.01373, allocations: 427 kB / 264.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.01399, allocations: 299.4 kB / 264.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.01533, allocations: 1.422 MB / 266 MB, free: 8.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.01534, allocations: 0 / 266 MB, free: 8.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01534, allocations: 4 kB / 266 MB, free: 8.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.01536, allocations: 0 / 266 MB, free: 8.871 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.00244/0.0178, allocations: 1.899 MB / 267.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.01783, allocations: 11.98 kB / 267.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000847/0.01868, allocations: 317.2 kB / 268.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007945/0.01947, allocations: 0.6958 MB / 268.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.01974, allocations: 487 kB / 269.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-05/0.01982, allocations: 48 kB / 269.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.02069, allocations: 0.8449 MB / 270.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.0207, allocations: 4 kB / 270.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.02075, allocations: 23.88 kB / 270.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.02076, allocations: 12 kB / 270.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.02119, allocations: 216.7 kB / 270.6 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.02246, allocations: 1.816 MB / 272.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.02286, allocations: 492.9 kB / 272.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.02307, allocations: 125.2 kB / 273 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-05/0.02313, allocations: 8 kB / 273 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.02316, allocations: 38.56 kB / 273 MB, free: 1.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.193e-06/0.02316, allocations: 0 / 273 MB, free: 1.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007658/0.02392, allocations: 342 kB / 273.4 MB, free: 1.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.02399, allocations: 191.8 kB / 273.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1282/0.1522, allocations: 0.8375 MB / 274.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00022/0.1525, allocations: 28.64 kB / 274.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.1527, allocations: 277.1 kB / 274.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.1528, allocations: 118.8 kB / 274.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.1531, allocations: 107.2 kB / 274.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.1531, allocations: 331.1 kB / 275.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.1534, allocations: 101.8 kB / 275.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.1538, allocations: 440.9 kB / 275.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.1543, allocations: 365.4 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1543, allocations: 1 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008231/0.1551, allocations: 406.4 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1551, allocations: 9.125 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1551, allocations: 2.469 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1551, allocations: 8 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/0.1561, allocations: 352 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1561, allocations: 5.875 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000921/0.157, allocations: 280.9 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.1571, allocations: 20.97 kB / 277.2 MB, free: 13.64 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.0002719/0.1573, allocations: 142.3 kB / 277.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.1575, allocations: 64.17 kB / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.1576, allocations: 89.12 kB / 277.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1576, allocations: 4.688 kB / 277.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1576, allocations: 2.438 kB / 277.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1576, allocations: 6.812 kB / 277.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.1582, allocations: 357.5 kB / 277.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1583, allocations: 1.219 kB / 277.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/0.159, allocations: 310.6 kB / 278.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1591, allocations: 86.2 kB / 278.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.1591, allocations: 3.312 kB / 278.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.1591, allocations: 10.52 kB / 278.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1591, allocations: 2.891 kB / 278.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1591, allocations: 3.516 kB / 278.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.1599, allocations: 0.9761 MB / 279.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.16, allocations: 15.94 kB / 279.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008223/0.1608, allocations: 260 kB / 279.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.1611, allocations: 127.9 kB / 279.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.1611, allocations: 12.2 kB / 279.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005198/0.1616, allocations: 432.8 kB / 280 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1616, allocations: 0 / 280 MB, free: 12.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001065/0.1627, allocations: 431.1 kB / 280.5 MB, free: 12.56 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.0007658/0.1635, allocations: 418.5 kB / 280.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.1642, allocations: 292.7 kB / 281.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/0.1642, allocations: 9.562 kB / 281.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.1646, allocations: 271.8 kB / 281.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.1659, allocations: 2.568 MB / 284 MB, free: 9.754 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007329/0.1733, allocations: 1.787 MB / 285.8 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1735, allocations: 231 kB / 286 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0007692/0.1743, allocations: 124.8 kB / 286.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008439/0.1751, allocations: 266.4 kB / 286.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of SimCode: time 2.806e-06/0.1751, allocations: 4 kB / 286.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of Templates: time 0.03148/0.2066, allocations: 28.26 MB / 314.7 MB, free: 2.512 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.250841929577291]