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.001487/0.001487, allocations: 92.7 kB / 19.44 MB, free: 324 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.001718/0.001718, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.02869/0.02869, allocations: 4.083 MB / 263.6 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 2.354e-06/2.354e-06, allocations: 0 / 334.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.31e-05, allocations: 2.312 kB / 334.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.00339/0.003423, allocations: 2.186 MB / 336.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004622, allocations: 0.6388 MB / 337 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.004814, allocations: 3.938 kB / 337 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.005091, allocations: 39.64 kB / 337 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.005245, allocations: 47.58 kB / 337.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.005555, allocations: 95.81 kB / 337.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.005828, allocations: 219.6 kB / 337.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.006061, allocations: 81.12 kB / 337.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.006269, allocations: 119.8 kB / 337.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.006377, allocations: 63.8 kB / 337.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.006413, allocations: 20 kB / 337.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.933e-05/0.006442, allocations: 20 kB / 337.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.006478, allocations: 47.83 kB / 337.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.408e-05/0.006552, allocations: 59.91 kB / 337.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.00681, allocations: 227.3 kB / 338 MB, free: 10.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.006816, allocations: 4 kB / 338 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006818, allocations: 4 kB / 338 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.006826, allocations: 0 / 338 MB, free: 10.84 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.0006619/0.007488, allocations: 409.4 kB / 338.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.007529, allocations: 12.03 kB / 338.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.007618, allocations: 32.8 kB / 338.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.007921, allocations: 168.5 kB / 338.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.007938, allocations: 20.38 kB / 338.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.007988, allocations: 20.31 kB / 338.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.008393, allocations: 238.3 kB / 338.9 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.008413, allocations: 16.08 kB / 338.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.008435, allocations: 4.375 kB / 338.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.008443, allocations: 7.938 kB / 338.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.008787, allocations: 139.9 kB / 339.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.009664, allocations: 0.6249 MB / 339.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.009947, allocations: 94.5 kB / 339.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.01007, allocations: 48.95 kB / 339.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.0101, allocations: 4 kB / 339.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.01012, allocations: 30.56 kB / 339.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.01013, allocations: 0 / 339.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004964/0.01062, allocations: 149.5 kB / 340 MB, free: 8.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.01065, allocations: 85.05 kB / 340.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.01077, allocations: 149.7 kB / 340.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.01078, allocations: 29.7 kB / 340.3 MB, free: 8.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.01084, allocations: 156.1 kB / 340.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.01087, allocations: 15.86 kB / 340.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.01092, allocations: 29.7 kB / 340.5 MB, free: 8.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.01097, allocations: 318.8 kB / 340.8 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.01112, allocations: 52.81 kB / 340.8 MB, free: 7.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.01127, allocations: 124.5 kB / 340.9 MB, free: 7.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.01154, allocations: 133.9 kB / 341.1 MB, free: 7.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01154, allocations: 0 / 341.1 MB, free: 7.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003602/0.0119, allocations: 177.4 kB / 341.2 MB, free: 7.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01192, allocations: 8 kB / 341.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01193, allocations: 0 / 341.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.01195, allocations: 4 kB / 341.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01211, allocations: 35.91 kB / 341.3 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01212, allocations: 8.188 kB / 341.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01223, allocations: 23.81 kB / 341.3 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.01224, allocations: 8 kB / 341.3 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001316/0.01237, allocations: 124.1 kB / 341.5 MB, free: 7.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001165/0.01249, allocations: 112.5 kB / 341.6 MB, free: 6.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001809/0.01267, allocations: 113.9 kB / 341.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.01267, allocations: 0 / 341.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.000272/0.01294, allocations: 145.4 kB / 341.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.01295, allocations: 12.19 kB / 341.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.01295, allocations: 160 / 341.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.01296, allocations: 4 kB / 341.8 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01306, allocations: 27.97 kB / 341.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01307, allocations: 11.92 kB / 341.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/0.01317, allocations: 19.88 kB / 341.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01317, allocations: 8 kB / 341.9 MB, free: 6.621 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 6.207e-05/0.01324, allocations: 184.2 kB / 342.1 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.01327, allocations: 11.95 kB / 342.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.01331, allocations: 20.77 kB / 342.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01331, allocations: 0 / 342.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.01332, allocations: 3.938 kB / 342.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01332, allocations: 0 / 342.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.01347, allocations: 157.3 kB / 342.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01347, allocations: 0 / 342.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.01361, allocations: 24.22 kB / 342.3 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01362, allocations: 4 kB / 342.3 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01363, allocations: 4 kB / 342.3 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01363, allocations: 3.938 kB / 342.3 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01363, allocations: 4 kB / 342.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.0141, allocations: 259.3 kB / 342.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.01412, allocations: 7.984 kB / 342.6 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01414, allocations: 0 / 342.6 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.01426, allocations: 11.98 kB / 342.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.0143, allocations: 15.98 kB / 342.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.01431, allocations: 4 kB / 342.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.01437, allocations: 109.8 kB / 342.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01437, allocations: 0 / 342.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.01475, allocations: 75.73 kB / 342.8 MB, free: 5.688 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 8.807e-05/0.01483, allocations: 99.19 kB / 342.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.01526, allocations: 152 kB / 343 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01527, allocations: 0 / 343 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.01539, allocations: 35.97 kB / 343.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.01575, allocations: 29.17 kB / 343.1 MB, free: 5.371 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.01645, allocations: 385.8 kB / 343.5 MB, free: 4.969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.01653, allocations: 108.1 kB / 343.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.0166, allocations: 12.44 kB / 343.6 MB, free: 4.836 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.01664, allocations: 16.5 kB / 343.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01664, allocations: 0 / 343.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of Templates: time 0.004967/0.02161, allocations: 1.542 MB / 345.1 MB, free: 3.316 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=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.586311824037693]