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.0007038/0.0007038, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008672/0.001571, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006807/0.0006807, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008391/0.00152, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9763/0.9763, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09382/1.07, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.03581/0.03581, allocations: 4.098 MB / 248.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002482/0.03829, allocations: 1.601 MB / 249.7 MB, free: 9.238 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.303e-06/1.303e-06, allocations: 0 / 251 MB, free: 7.891 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.408e-06/1.071e-05, allocations: 2.312 kB / 251 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002134/0.002144, allocations: 2.327 MB / 253.3 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.002827, allocations: 0.6815 MB / 254 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.002897, allocations: 4 kB / 254 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.653e-05/0.002993, allocations: 35.66 kB / 254 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.003057, allocations: 47.56 kB / 254.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.003203, allocations: 99.75 kB / 254.2 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.003371, allocations: 215.6 kB / 254.4 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.003517, allocations: 82.52 kB / 254.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.003907, allocations: 135.6 kB / 254.6 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.003986, allocations: 67.84 kB / 254.7 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.004017, allocations: 20 kB / 254.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.004036, allocations: 20 kB / 254.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.00406, allocations: 35.88 kB / 254.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.004107, allocations: 55.88 kB / 254.8 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004257, allocations: 127.5 kB / 254.9 MB, free: 3.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.004268, allocations: 4 kB / 254.9 MB, free: 3.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004269, allocations: 0 / 254.9 MB, free: 3.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.00428, allocations: 0 / 254.9 MB, free: 3.926 MB / 250.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.000394/0.004674, allocations: 411.8 kB / 255.3 MB, free: 3.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.472e-05/0.004699, allocations: 11.98 kB / 255.4 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.004735, allocations: 32.86 kB / 255.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.00489, allocations: 166.1 kB / 255.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.0049, allocations: 16.38 kB / 255.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.00492, allocations: 16.38 kB / 255.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.005089, allocations: 186.3 kB / 255.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.0051, allocations: 8.188 kB / 255.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005111, allocations: 8.375 kB / 255.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005117, allocations: 7.938 kB / 255.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.897e-05/0.005176, allocations: 43.91 kB / 255.8 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.005644, allocations: 0.512 MB / 256.3 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.00572, allocations: 42.5 kB / 256.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.005739, allocations: 16.84 kB / 256.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.005755, allocations: 7.938 kB / 256.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.005775, allocations: 38.69 kB / 256.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005776, allocations: 0 / 256.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001049/0.005881, allocations: 49.69 kB / 256.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.005904, allocations: 59.33 kB / 256.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.259e-05/0.005977, allocations: 161 kB / 256.7 MB, free: 1.996 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.005988, allocations: 25.7 kB / 256.7 MB, free: 1.965 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.006039, allocations: 140.1 kB / 256.9 MB, free: 1.824 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.006054, allocations: 27.8 kB / 256.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.006084, allocations: 25.7 kB / 256.9 MB, free: 1.766 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.006152, allocations: 326.8 kB / 257.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.006172, allocations: 16.86 kB / 257.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.006219, allocations: 89.42 kB / 257.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/0.006282, allocations: 81.83 kB / 257.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.006284, allocations: 0 / 257.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.113e-05/0.006365, allocations: 89.56 kB / 257.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.006375, allocations: 4 kB / 257.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006379, allocations: 4 kB / 257.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.006386, allocations: 0 / 257.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.006514, allocations: 35.92 kB / 257.6 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.006519, allocations: 7.938 kB / 257.6 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.006566, allocations: 23.88 kB / 257.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.006571, allocations: 4 kB / 257.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.944e-05/0.006611, allocations: 100.3 kB / 257.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.071e-05/0.006652, allocations: 92.3 kB / 257.8 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.854e-05/0.00671, allocations: 69.86 kB / 257.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.006712, allocations: 4 kB / 257.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 8.882e-05/0.006801, allocations: 85.59 kB / 257.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.006809, allocations: 11.98 kB / 257.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.00681, allocations: 0 / 257.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.006812, allocations: 4 kB / 258 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.006873, allocations: 35.97 kB / 258 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.006875, allocations: 4 kB / 258 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.006913, allocations: 19.92 kB / 258 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-06/0.006917, allocations: 4 kB / 258 MB, free: 0.5508 MB / 250.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 5.737e-05/0.006974, allocations: 196.3 kB / 258.2 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.006989, allocations: 11.94 kB / 258.2 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.007011, allocations: 12.78 kB / 258.2 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007013, allocations: 0 / 258.2 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.007015, allocations: 7.922 kB / 258.2 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007018, allocations: 0 / 258.2 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.007116, allocations: 101.8 kB / 258.3 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.007117, allocations: 0 / 258.3 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.007188, allocations: 23.98 kB / 258.4 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.007198, allocations: 7.906 kB / 258.4 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.0072, allocations: 4 kB / 258.4 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.007207, allocations: 4 kB / 258.4 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.007208, allocations: 0 / 258.4 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.00721, allocations: 3.938 kB / 258.4 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.007333, allocations: 167.6 kB / 258.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.007346, allocations: 4 kB / 258.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.007389, allocations: 4 kB / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.007412, allocations: 7.984 kB / 258.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.007414, allocations: 0 / 258.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.432e-05/0.007439, allocations: 32.77 kB / 258.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007439, allocations: 0 / 258.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.007609, allocations: 79.77 kB / 258.7 MB, free: 15.86 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.875e-05/0.007668, allocations: 80.34 kB / 258.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.007769, allocations: 81.5 kB / 258.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.007774, allocations: 3.984 kB / 258.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.007794, allocations: 16.86 kB / 258.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.007943, allocations: 40.86 kB / 258.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.009372, allocations: 357 kB / 259.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.009412, allocations: 71.83 kB / 259.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.009456, allocations: 16.97 kB / 259.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.404e-05/0.00954, allocations: 79.34 kB / 259.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.009541, allocations: 0 / 259.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Templates: time 0.003231/0.01277, allocations: 1.749 MB / 261.1 MB, free: 13.35 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.4356535831466317]