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.0009403/0.0009403, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009547/0.0009547, allocations: 169 kB / 23.02 MB, free: 1.547 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.8925/0.8925, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.01603/0.01603, allocations: 4.079 MB / 264 MB, free: 9.043 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.693e-06/1.693e-06, allocations: 0 / 334.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.039e-05, allocations: 6.312 kB / 334.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003109/0.003129, allocations: 2.289 MB / 337.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004232, allocations: 0.6583 MB / 337.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.004352, allocations: 11.94 kB / 337.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.004589, allocations: 35.7 kB / 337.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.004693, allocations: 43.58 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.004977, allocations: 95.81 kB / 338 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.0052, allocations: 211.6 kB / 338.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.005416, allocations: 93.05 kB / 338.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.005571, allocations: 123.8 kB / 338.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.005684, allocations: 59.81 kB / 338.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.005725, allocations: 20 kB / 338.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.005753, allocations: 24 kB / 338.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.005787, allocations: 47.83 kB / 338.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.005851, allocations: 67.89 kB / 338.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.006058, allocations: 143.5 kB / 338.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00606, allocations: 0 / 338.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006061, allocations: 0 / 338.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.006065, allocations: 0 / 338.8 MB, free: 10.48 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.000531/0.006596, allocations: 0.4959 MB / 339.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.006631, allocations: 11.97 kB / 339.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.006705, allocations: 40.8 kB / 339.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.006922, allocations: 181 kB / 339.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.006941, allocations: 16.38 kB / 339.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.006978, allocations: 16.38 kB / 339.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.007314, allocations: 210.8 kB / 339.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.007331, allocations: 4.141 kB / 339.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.007353, allocations: 8.375 kB / 339.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.007364, allocations: 7.938 kB / 339.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.007503, allocations: 63.95 kB / 339.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/0.008281, allocations: 0.7088 MB / 340.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.008427, allocations: 59.05 kB / 340.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.008465, allocations: 19.67 kB / 340.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.008483, allocations: 4 kB / 340.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.008502, allocations: 41.45 kB / 340.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.008504, allocations: 0 / 340.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002024/0.008706, allocations: 73.59 kB / 340.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.008732, allocations: 85.05 kB / 340.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.008842, allocations: 201.9 kB / 341 MB, free: 8.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.008852, allocations: 25.7 kB / 341 MB, free: 8.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.008913, allocations: 194.8 kB / 341.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.008932, allocations: 27.78 kB / 341.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.008981, allocations: 35.38 kB / 341.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.009033, allocations: 0.4884 MB / 341.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.009079, allocations: 27.67 kB / 341.8 MB, free: 7.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.009147, allocations: 115.1 kB / 341.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.00924, allocations: 93.78 kB / 342 MB, free: 6.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.009243, allocations: 0 / 342 MB, free: 6.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001688/0.009411, allocations: 113.4 kB / 342.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.009426, allocations: 8 kB / 342.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.009432, allocations: 4.125 kB / 342.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.009449, allocations: 8 kB / 342.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.00959, allocations: 27.92 kB / 342.2 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.009597, allocations: 11.92 kB / 342.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.727e-05/0.009675, allocations: 11.95 kB / 342.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.009685, allocations: 8 kB / 342.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.774e-05/0.009743, allocations: 138.9 kB / 342.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.228e-05/0.009805, allocations: 122.5 kB / 342.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.753e-05/0.009882, allocations: 89.78 kB / 342.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.009884, allocations: 0 / 342.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0001505/0.01003, allocations: 105.6 kB / 342.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.01004, allocations: 9.25 kB / 342.7 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.01005, allocations: 3.984 kB / 342.7 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.01005, allocations: 4.188 kB / 342.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.01015, allocations: 31.92 kB / 342.7 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.01015, allocations: 7.938 kB / 342.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.01023, allocations: 23.88 kB / 342.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.01023, allocations: 4 kB / 342.7 MB, free: 6.137 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 5.138e-05/0.01028, allocations: 268.1 kB / 343 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.01032, allocations: 15.94 kB / 343 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.01035, allocations: 12.78 kB / 343 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01035, allocations: 0 / 343 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.01036, allocations: 7.922 kB / 343 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.01036, allocations: 4 kB / 343 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01051, allocations: 160.6 kB / 343.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01051, allocations: 0 / 343.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.01063, allocations: 24.17 kB / 343.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01063, allocations: 0 / 343.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.01065, allocations: 8 kB / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01065, allocations: 0 / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01065, allocations: 0 / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.01083, allocations: 231.8 kB / 343.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.01085, allocations: 7.953 kB / 343.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.01087, allocations: 4.031 kB / 343.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.01097, allocations: 11.98 kB / 343.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.011, allocations: 7.938 kB / 343.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.01101, allocations: 3.938 kB / 343.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.479e-05/0.01106, allocations: 153.5 kB / 343.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01106, allocations: 0 / 343.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.01144, allocations: 83.67 kB / 343.7 MB, free: 5.094 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 6.405e-05/0.01151, allocations: 87.25 kB / 343.8 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.01171, allocations: 103.4 kB / 343.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01171, allocations: 0 / 343.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.01175, allocations: 23.62 kB / 343.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.01207, allocations: 33.84 kB / 343.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/0.01287, allocations: 370.1 kB / 344.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.01291, allocations: 67.7 kB / 344.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6e-05/0.01297, allocations: 12.48 kB / 344.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.01301, allocations: 12.5 kB / 344.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01301, allocations: 0 / 344.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of Templates: time 0.004202/0.01721, allocations: 1.656 MB / 346.1 MB, free: 2.711 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.543064707890153]