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.0009409/0.0009409, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009445/0.0009445, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9114/0.9114, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.01678/0.01678, allocations: 4.096 MB / 264.4 MB, free: 8.918 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.623e-06/1.623e-06, allocations: 0 / 282.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.588e-05, allocations: 2.312 kB / 282.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003267/0.003282, allocations: 3.596 MB / 285.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003329/0.006612, allocations: 3.478 MB / 289.1 MB, free: 96 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.006756, allocations: 8 kB / 289.2 MB, free: 88 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1065/0.1133, allocations: 258.1 kB / 289.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.1153, allocations: 0.9381 MB / 290.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1157, allocations: 243.8 kB / 290.6 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009988/0.1167, allocations: 1.197 MB / 291.8 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.1169, allocations: 232.1 kB / 292 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006534/0.1176, allocations: 0.6472 MB / 292.7 MB, free: 18.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007777/0.1184, allocations: 0.7532 MB / 293.4 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.1186, allocations: 113.5 kB / 293.5 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.1199, allocations: 0.9704 MB / 294.5 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003832/0.1203, allocations: 0.5121 MB / 295 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.1207, allocations: 415.3 kB / 295.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.1224, allocations: 1.69 MB / 297.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1224, allocations: 0 / 297.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1224, allocations: 1.031 kB / 297.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.1224, allocations: 0 / 297.1 MB, free: 18.18 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.002263/0.1247, allocations: 1.663 MB / 298.8 MB, free: 17.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.1247, allocations: 8.594 kB / 298.8 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008211/0.1255, allocations: 239.5 kB / 299 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.1263, allocations: 0.6961 MB / 299.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.1266, allocations: 486.1 kB / 300.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.1266, allocations: 44.88 kB / 300.2 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.1274, allocations: 0.8558 MB / 301.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1275, allocations: 0 / 301.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.1275, allocations: 17.98 kB / 301.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1275, allocations: 11.31 kB / 301.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.128, allocations: 235.8 kB / 301.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1291, allocations: 1.818 MB / 303.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.1295, allocations: 485.1 kB / 303.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.1297, allocations: 118.5 kB / 303.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.299e-05/0.1298, allocations: 5.469 kB / 303.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.1298, allocations: 44.97 kB / 303.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.202e-06/0.1298, allocations: 0 / 303.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008073/0.1306, allocations: 343.1 kB / 304.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1306, allocations: 396.8 kB / 304.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.1312, allocations: 0.8448 MB / 305.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.1313, allocations: 29.7 kB / 305.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.1314, allocations: 282.2 kB / 305.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.1315, allocations: 115.7 kB / 305.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.1317, allocations: 114.2 kB / 305.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.299e-05/0.1317, allocations: 325.8 kB / 306.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.1319, allocations: 107.5 kB / 306.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.1322, allocations: 430.9 kB / 306.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.1326, allocations: 348.1 kB / 307.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1326, allocations: 3 kB / 307.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006224/0.1332, allocations: 405.8 kB / 307.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1332, allocations: 7.844 kB / 307.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1332, allocations: 0 / 307.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1333, allocations: 8.844 kB / 307.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.134, allocations: 339.3 kB / 307.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.134, allocations: 4 kB / 307.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.1347, allocations: 277 kB / 308.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.1347, allocations: 23.98 kB / 308.1 MB, free: 10.61 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.0001746/0.1349, allocations: 142 kB / 308.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.135, allocations: 59.78 kB / 308.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.1351, allocations: 87.22 kB / 308.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1351, allocations: 4 kB / 308.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1351, allocations: 4 kB / 308.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1351, allocations: 0 / 308.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.1356, allocations: 359.8 kB / 308.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1356, allocations: 4 kB / 308.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.1362, allocations: 294.7 kB / 309 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1362, allocations: 8 kB / 309.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.1362, allocations: 11.98 kB / 309.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1362, allocations: 4 kB / 309.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1362, allocations: 2.875 kB / 309.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.1367, allocations: 0.9814 MB / 310.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.1368, allocations: 87.3 kB / 310.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.1369, allocations: 8 kB / 310.1 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.1377, allocations: 251.4 kB / 310.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.1379, allocations: 134.7 kB / 310.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.1379, allocations: 11.98 kB / 310.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000308/0.1382, allocations: 428.9 kB / 311 MB, free: 7.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1382, allocations: 0 / 311 MB, free: 7.859 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008216/0.139, allocations: 443.1 kB / 311.4 MB, free: 7.426 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.0004918/0.1395, allocations: 403.9 kB / 311.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.1401, allocations: 277.1 kB / 312.1 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1401, allocations: 12 kB / 312.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.1403, allocations: 162 kB / 312.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/0.1412, allocations: 294 kB / 312.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.1441, allocations: 2.044 MB / 314.6 MB, free: 4.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.1442, allocations: 225.6 kB / 314.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004216/0.1447, allocations: 133.3 kB / 314.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/0.1453, allocations: 263.1 kB / 315.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1453, allocations: 0 / 315.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of Templates: time 0.02529/0.1706, allocations: 27.32 MB / 342.5 MB, free: 8.75 MB / 298.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.0996618447825313]