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.0008788/0.0008788, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009066/0.0009066, allocations: 177 kB / 23.5 MB, free: 1.051 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.8793/0.8793, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.01641/0.01641, allocations: 4.089 MB / 264.4 MB, free: 9.105 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.543e-06/1.543e-06, allocations: 0 / 334.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.566e-05, allocations: 8.703 kB / 334.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.001986/0.002002, allocations: 2.283 MB / 337.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000734/0.002736, allocations: 0.6505 MB / 337.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.002833, allocations: 11.94 kB / 337.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.003013, allocations: 35.72 kB / 337.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.003075, allocations: 39.58 kB / 337.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.00327, allocations: 95.81 kB / 338 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.003423, allocations: 219.6 kB / 338.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.00358, allocations: 85.06 kB / 338.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.003681, allocations: 123.8 kB / 338.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.003763, allocations: 59.81 kB / 338.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.00379, allocations: 24 kB / 338.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.003807, allocations: 20 kB / 338.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.003832, allocations: 51.83 kB / 338.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.003876, allocations: 67.88 kB / 338.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.00402, allocations: 139.5 kB / 338.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004022, allocations: 0 / 338.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004023, allocations: 0 / 338.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004026, allocations: 3.938 kB / 338.8 MB, free: 10.83 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.0003923/0.004419, allocations: 0.4959 MB / 339.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.004458, allocations: 12.03 kB / 339.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.004513, allocations: 40.8 kB / 339.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.004674, allocations: 185 kB / 339.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.004686, allocations: 12.38 kB / 339.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.004713, allocations: 20.38 kB / 339.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.00492, allocations: 206.8 kB / 339.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.004932, allocations: 8.141 kB / 339.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.004946, allocations: 4.375 kB / 339.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.004956, allocations: 11.92 kB / 339.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.005047, allocations: 63.95 kB / 339.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.00558, allocations: 0.7127 MB / 340.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.402e-05/0.005674, allocations: 55.05 kB / 340.6 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.005701, allocations: 19.8 kB / 340.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.005715, allocations: 0 / 340.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.005729, allocations: 37.39 kB / 340.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.00573, allocations: 0 / 340.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001476/0.005878, allocations: 81.53 kB / 340.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.005901, allocations: 81.05 kB / 340.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.005976, allocations: 200.6 kB / 341 MB, free: 8.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.005983, allocations: 29.7 kB / 341 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.006034, allocations: 198.8 kB / 341.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.006046, allocations: 23.78 kB / 341.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.006078, allocations: 31.38 kB / 341.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.006117, allocations: 0.4962 MB / 341.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.006145, allocations: 19.67 kB / 341.8 MB, free: 7.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.006187, allocations: 119.1 kB / 341.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.38e-05/0.006251, allocations: 105.8 kB / 342 MB, free: 7.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006253, allocations: 3.938 kB / 342 MB, free: 7.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000103/0.006356, allocations: 109.4 kB / 342.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.006366, allocations: 8 kB / 342.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006371, allocations: 4.188 kB / 342.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.006384, allocations: 4 kB / 342.1 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.006481, allocations: 27.92 kB / 342.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.006487, allocations: 7.984 kB / 342.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.006536, allocations: 15.95 kB / 342.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.006543, allocations: 4 kB / 342.2 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.324e-05/0.006586, allocations: 146.8 kB / 342.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.609e-05/0.006623, allocations: 110.1 kB / 342.5 MB, free: 6.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.624e-05/0.006669, allocations: 93.78 kB / 342.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-07/0.006669, allocations: 0 / 342.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 8.53e-05/0.006755, allocations: 109.4 kB / 342.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-06/0.006759, allocations: 8 kB / 342.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-06/0.006761, allocations: 0 / 342.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.006762, allocations: 8.188 kB / 342.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.006806, allocations: 23.98 kB / 342.7 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.006809, allocations: 11.88 kB / 342.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.006847, allocations: 16.12 kB / 342.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.006851, allocations: 8 kB / 342.7 MB, free: 6.484 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.092e-05/0.006891, allocations: 268.1 kB / 343 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.006909, allocations: 15.95 kB / 343 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.006934, allocations: 12.78 kB / 343 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006936, allocations: 4 kB / 343 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006939, allocations: 7.938 kB / 343 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006942, allocations: 3.984 kB / 343 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.007047, allocations: 160.6 kB / 343.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.007047, allocations: 0 / 343.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.007109, allocations: 23.92 kB / 343.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.00711, allocations: 0 / 343.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.007121, allocations: 0 / 343.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007122, allocations: 4 kB / 343.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007123, allocations: 0 / 343.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.007248, allocations: 231.8 kB / 343.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.007259, allocations: 11.95 kB / 343.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.007273, allocations: 7.969 kB / 343.5 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.007321, allocations: 7.984 kB / 343.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.007351, allocations: 11.92 kB / 343.5 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.007353, allocations: 0 / 343.5 MB, free: 5.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.007389, allocations: 151.2 kB / 343.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007389, allocations: 0 / 343.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00022/0.007609, allocations: 75.67 kB / 343.7 MB, free: 5.445 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.231e-05/0.007661, allocations: 95.19 kB / 343.8 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.007804, allocations: 103.4 kB / 343.9 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007805, allocations: 4 kB / 343.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.007829, allocations: 19.62 kB / 343.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.008044, allocations: 26.98 kB / 343.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.008594, allocations: 374.1 kB / 344.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.639e-05/0.00862, allocations: 75.69 kB / 344.4 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.008661, allocations: 12.48 kB / 344.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.008688, allocations: 12.5 kB / 344.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008689, allocations: 0 / 344.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of Templates: time 0.002671/0.01136, allocations: 1.553 MB / 346 MB, free: 3.16 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.5763746958691627]