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.001371/0.001371, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001732/0.001732, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9597/0.9597, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.01597/0.01597, allocations: 4.087 MB / 264.3 MB, free: 8.879 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 2.364e-06/2.364e-06, allocations: 0 / 335.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.242e-05, allocations: 2.312 kB / 335.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002694/0.002726, allocations: 2.271 MB / 337.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.003667, allocations: 0.6658 MB / 338.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.003768, allocations: 4 kB / 338.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.003974, allocations: 35.72 kB / 338.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.004056, allocations: 51.48 kB / 338.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.004275, allocations: 87.89 kB / 338.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.004465, allocations: 219.6 kB / 338.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.004656, allocations: 77.09 kB / 338.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.004803, allocations: 123.8 kB / 338.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.004894, allocations: 71.78 kB / 338.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.004923, allocations: 24 kB / 338.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.004946, allocations: 20 kB / 339 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.004978, allocations: 47.83 kB / 339 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.005023, allocations: 59.91 kB / 339.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.005195, allocations: 143.5 kB / 339.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005198, allocations: 4 kB / 339.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0052, allocations: 0 / 339.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005204, allocations: 0 / 339.2 MB, free: 11.29 MB / 314.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.0004436/0.005647, allocations: 0.4998 MB / 339.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.005685, allocations: 8.031 kB / 339.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.005733, allocations: 40.8 kB / 339.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.005906, allocations: 181 kB / 339.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.005918, allocations: 12.38 kB / 340 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.005946, allocations: 20.38 kB / 340 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.006152, allocations: 202.7 kB / 340.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.006164, allocations: 4.141 kB / 340.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.006178, allocations: 8.375 kB / 340.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.006185, allocations: 11.94 kB / 340.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.964e-05/0.006245, allocations: 43.94 kB / 340.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.006832, allocations: 0.6859 MB / 340.9 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.006915, allocations: 59 kB / 341 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.006939, allocations: 23.75 kB / 341 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.006957, allocations: 0 / 341 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.006978, allocations: 37.39 kB / 341 MB, free: 9.301 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.006979, allocations: 4 kB / 341 MB, free: 9.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001381/0.007117, allocations: 61.64 kB / 341.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.007153, allocations: 81.11 kB / 341.2 MB, free: 9.133 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.00725, allocations: 204.7 kB / 341.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.007264, allocations: 29.7 kB / 341.4 MB, free: 8.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.007346, allocations: 198.8 kB / 341.6 MB, free: 8.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.007364, allocations: 23.78 kB / 341.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.007402, allocations: 35.36 kB / 341.7 MB, free: 8.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.007536, allocations: 0.4923 MB / 342.2 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.007564, allocations: 23.61 kB / 342.2 MB, free: 8.086 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.007628, allocations: 111.2 kB / 342.3 MB, free: 7.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.437e-05/0.007702, allocations: 97.75 kB / 342.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007704, allocations: 0 / 342.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001135/0.007818, allocations: 105.6 kB / 342.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.007829, allocations: 9.094 kB / 342.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.007834, allocations: 4 kB / 342.5 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.007845, allocations: 4 kB / 342.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.007924, allocations: 31.91 kB / 342.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.007929, allocations: 7.938 kB / 342.5 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.007974, allocations: 12 kB / 342.6 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.007981, allocations: 7.938 kB / 342.6 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.743e-05/0.008038, allocations: 138.9 kB / 342.7 MB, free: 7.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.937e-05/0.008098, allocations: 115.2 kB / 342.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.163e-05/0.008169, allocations: 93.7 kB / 342.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.71e-07/0.00817, allocations: 0 / 342.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 9.749e-05/0.008267, allocations: 101.5 kB / 343 MB, free: 7.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.008273, allocations: 8.188 kB / 343 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.008276, allocations: 4.25 kB / 343 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.008279, allocations: 4 kB / 343 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.008329, allocations: 31.92 kB / 343 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.008332, allocations: 4 kB / 343.1 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.008371, allocations: 15.86 kB / 343.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.008376, allocations: 8 kB / 343.1 MB, free: 7.035 MB / 314.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 0.0001058/0.008482, allocations: 268.1 kB / 343.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.008505, allocations: 19.89 kB / 343.4 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.008533, allocations: 8.781 kB / 343.4 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008535, allocations: 4 kB / 343.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.008537, allocations: 4 kB / 343.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.008541, allocations: 7.922 kB / 343.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.008666, allocations: 133.2 kB / 343.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.008667, allocations: 0 / 343.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.008727, allocations: 19.98 kB / 343.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.008729, allocations: 0 / 343.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.008738, allocations: 0 / 343.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008739, allocations: 0 / 343.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008741, allocations: 0 / 343.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.008892, allocations: 224 kB / 343.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.008905, allocations: 15.97 kB / 343.8 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.008917, allocations: 7.938 kB / 343.8 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.008961, allocations: 4 kB / 343.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.00899, allocations: 7.984 kB / 343.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.008992, allocations: 0 / 343.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.009039, allocations: 139.2 kB / 343.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009039, allocations: 0 / 343.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.009264, allocations: 83.66 kB / 344 MB, free: 6.059 MB / 314.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 8.334e-05/0.009347, allocations: 95.19 kB / 344.1 MB, free: 5.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.009467, allocations: 95.12 kB / 344.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009469, allocations: 0 / 344.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.009493, allocations: 27.61 kB / 344.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.009699, allocations: 37.45 kB / 344.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.01028, allocations: 368.3 kB / 344.6 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.01032, allocations: 71.83 kB / 344.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.167e-05/0.01036, allocations: 8.484 kB / 344.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.01045, allocations: 102.2 kB / 344.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01045, allocations: 4 kB / 344.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of Templates: time 0.003248/0.0137, allocations: 1.69 MB / 346.5 MB, free: 3.535 MB / 314.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.598559465724975]