Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.ServoMotor_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.0009628/0.0009628, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.0008985/0.0008985, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9526/0.9526, allocations: 177.1 MB / 204.5 MB, free: 5.09 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.01652/0.01652, allocations: 4.088 MB / 265.1 MB, free: 8.715 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.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 336.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.929e-05, allocations: 6.141 kB / 336.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002962/0.002981, allocations: 2.289 MB / 338.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.003938, allocations: 0.6466 MB / 339 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.004053, allocations: 4 kB / 339.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.00426, allocations: 43.58 kB / 339.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.004357, allocations: 47.56 kB / 339.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.004588, allocations: 87.83 kB / 339.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.004783, allocations: 215.7 kB / 339.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.004976, allocations: 85.12 kB / 339.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.005116, allocations: 123.7 kB / 339.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.005221, allocations: 79.8 kB / 339.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.005256, allocations: 20 kB / 339.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.681e-05/0.005283, allocations: 20 kB / 339.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.005321, allocations: 43.83 kB / 339.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.005381, allocations: 63.84 kB / 339.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.005567, allocations: 143.5 kB / 340 MB, free: 10.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005569, allocations: 4 kB / 340 MB, free: 10.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00557, allocations: 0 / 340 MB, free: 10.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.005574, allocations: 4 kB / 340 MB, free: 10.19 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004347/0.006009, allocations: 499.8 kB / 340.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.006043, allocations: 15.97 kB / 340.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.006105, allocations: 36.8 kB / 340.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.006273, allocations: 185 kB / 340.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.006284, allocations: 12.38 kB / 340.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.006308, allocations: 16.38 kB / 340.8 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.006473, allocations: 190.8 kB / 340.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.006485, allocations: 12.12 kB / 341 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.006496, allocations: 8.375 kB / 341 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.006501, allocations: 7.938 kB / 341 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.413e-05/0.006555, allocations: 51.88 kB / 341 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.006987, allocations: 0.6821 MB / 341.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.555e-05/0.007063, allocations: 54.97 kB / 341.8 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.007079, allocations: 15.81 kB / 341.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.007091, allocations: 4 kB / 341.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.007103, allocations: 37.39 kB / 341.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.007105, allocations: 3.984 kB / 341.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001286/0.007234, allocations: 73.53 kB / 341.9 MB, free: 8.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.007254, allocations: 81.09 kB / 342 MB, free: 8.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.007314, allocations: 204.7 kB / 342.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.007321, allocations: 25.7 kB / 342.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.007368, allocations: 202.8 kB / 342.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.007379, allocations: 23.78 kB / 342.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.007407, allocations: 39.3 kB / 342.5 MB, free: 7.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.007449, allocations: 0.4923 MB / 342.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.007469, allocations: 19.67 kB / 343 MB, free: 6.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.007508, allocations: 115.2 kB / 343.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.007562, allocations: 97.66 kB / 343.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.007565, allocations: 4 kB / 343.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.673e-05/0.007652, allocations: 97.64 kB / 343.3 MB, free: 6.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.007661, allocations: 4 kB / 343.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.007665, allocations: 0 / 343.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.007673, allocations: 4 kB / 343.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.007752, allocations: 35.91 kB / 343.3 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.007755, allocations: 3.938 kB / 343.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.007799, allocations: 15.95 kB / 343.3 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007805, allocations: 4 kB / 343.3 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.536e-05/0.00784, allocations: 142.9 kB / 343.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.16e-05/0.007872, allocations: 107.2 kB / 343.6 MB, free: 6.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.814e-05/0.00791, allocations: 97.78 kB / 343.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-07/0.00791, allocations: 0 / 343.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 7.134e-05/0.007982, allocations: 101.6 kB / 343.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-06/0.007987, allocations: 8.188 kB / 343.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.007989, allocations: 7.984 kB / 343.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-06/0.007991, allocations: 0 / 343.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.008033, allocations: 27.98 kB / 343.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-06/0.008035, allocations: 0 / 343.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.008073, allocations: 23.81 kB / 343.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.008076, allocations: 8 kB / 343.9 MB, free: 5.945 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 13 * 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 4.955e-05/0.008126, allocations: 272 kB / 344.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.008146, allocations: 11.95 kB / 344.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.008168, allocations: 16.78 kB / 344.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008169, allocations: 0 / 344.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.008171, allocations: 3.984 kB / 344.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.008175, allocations: 4.188 kB / 344.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.079e-05/0.008265, allocations: 129.2 kB / 344.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.008266, allocations: 4 kB / 344.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.008321, allocations: 19.98 kB / 344.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.008322, allocations: 0 / 344.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.008333, allocations: 7.938 kB / 344.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.008334, allocations: 0 / 344.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.008334, allocations: 0 / 344.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.008437, allocations: 231.7 kB / 344.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.008448, allocations: 11.94 kB / 344.6 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.00846, allocations: 4 kB / 344.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.547e-05/0.008505, allocations: 8 kB / 344.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.008528, allocations: 3.984 kB / 344.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.00853, allocations: 0 / 344.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.951e-05/0.008559, allocations: 153 kB / 344.7 MB, free: 5.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008559, allocations: 0 / 344.7 MB, free: 5.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.008768, allocations: 75.67 kB / 344.8 MB, free: 4.957 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (6): * Single equations (assignments): 6 * 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 5.023e-05/0.008819, allocations: 99.22 kB / 344.9 MB, free: 4.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.008923, allocations: 87.16 kB / 345 MB, free: 4.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.008924, allocations: 0 / 345 MB, free: 4.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.061e-05/0.008944, allocations: 23.66 kB / 345 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.009147, allocations: 30.48 kB / 345 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.009621, allocations: 358.5 kB / 345.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.784e-05/0.009649, allocations: 75.69 kB / 345.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.82e-05/0.009687, allocations: 16.47 kB / 345.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.009756, allocations: 102.2 kB / 345.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.009757, allocations: 3.938 kB / 345.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of Templates: time 0.002786/0.01254, allocations: 1.73 MB / 347.3 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & ./DeltaRobot_DeltaRobot.Tests.ServoMotor_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.536071538925171]