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.001364/0.001364, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001502/0.001502, allocations: 220.4 kB / 23 MB, free: 4.914 MB / 14.72 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 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.02853/0.02853, allocations: 5.272 MB / 318.5 MB, free: 13.73 MB / 254.1 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: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 68.81 kB / 443.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1118, allocations: 54.55 MB / 497.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003948/0.1157, allocations: 2.195 MB / 499.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.117, allocations: 0.6273 MB / 0.4888 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1171, allocations: 4 kB / 0.4888 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1173, allocations: 43.64 kB / 0.4888 GB, free: 14.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.1174, allocations: 47.56 kB / 0.4889 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.1177, allocations: 90.91 kB / 0.489 GB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.118, allocations: 211.6 kB / 0.4892 GB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.1182, allocations: 77.2 kB / 0.4892 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1183, allocations: 83.66 kB / 0.4893 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1185, allocations: 79.61 kB / 0.4894 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.1185, allocations: 20 kB / 0.4894 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.1185, allocations: 24 kB / 0.4894 GB, free: 13.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1186, allocations: 35.92 kB / 0.4895 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.1187, allocations: 79.66 kB / 0.4896 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.119, allocations: 219.2 kB / 0.4898 GB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.119, allocations: 3.938 kB / 0.4898 GB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.119, allocations: 0 / 0.4898 GB, free: 13.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.119, allocations: 0 / 0.4898 GB, free: 13.24 MB / 366.1 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.0007478/0.1198, allocations: 417.5 kB / 0.4902 GB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1198, allocations: 12.03 kB / 0.4902 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.1199, allocations: 24.78 kB / 0.4902 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.1202, allocations: 174.2 kB / 0.4904 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1202, allocations: 12.38 kB / 0.4904 GB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.1202, allocations: 20.38 kB / 0.4904 GB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.1207, allocations: 242.1 kB / 0.4906 GB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1207, allocations: 3.953 kB / 0.4906 GB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.1208, allocations: 12 kB / 0.4906 GB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1208, allocations: 8 kB / 0.4907 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.1212, allocations: 139.8 kB / 0.4908 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.1223, allocations: 0.6089 MB / 0.4914 GB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.1226, allocations: 102.5 kB / 0.4915 GB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1227, allocations: 40.95 kB / 0.4915 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1227, allocations: 3.984 kB / 0.4915 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1228, allocations: 30.56 kB / 0.4916 GB, free: 11.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1228, allocations: 0 / 0.4916 GB, free: 11.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005541/0.1233, allocations: 161.4 kB / 0.4917 GB, free: 11.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.1234, allocations: 77.11 kB / 0.4918 GB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1236, allocations: 148.7 kB / 0.4919 GB, free: 10.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1236, allocations: 29.7 kB / 0.4919 GB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1237, allocations: 144.1 kB / 0.4921 GB, free: 10.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1237, allocations: 27.78 kB / 0.4921 GB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.1238, allocations: 29.7 kB / 0.4921 GB, free: 10.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.124, allocations: 318.8 kB / 0.4924 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.1241, allocations: 52.81 kB / 0.4925 GB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.1244, allocations: 132.5 kB / 0.4926 GB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.1247, allocations: 133.9 kB / 0.4927 GB, free: 9.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1247, allocations: 0 / 0.4927 GB, free: 9.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004169/0.1251, allocations: 161.4 kB / 0.4929 GB, free: 9.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1251, allocations: 11.09 kB / 0.4929 GB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1251, allocations: 4 kB / 0.4929 GB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1252, allocations: 4 kB / 0.4929 GB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.1253, allocations: 35.91 kB / 0.493 GB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1253, allocations: 4 kB / 0.493 GB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1255, allocations: 28.12 kB / 0.493 GB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1255, allocations: 4 kB / 0.493 GB, free: 9.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001972/0.1257, allocations: 128.1 kB / 0.4931 GB, free: 9.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001721/0.1259, allocations: 112.5 kB / 0.4932 GB, free: 9.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002453/0.1261, allocations: 109.9 kB / 0.4933 GB, free: 9.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.1261, allocations: 4.078 kB / 0.4933 GB, free: 9.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003232/0.1264, allocations: 149.5 kB / 0.4935 GB, free: 9.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.1264, allocations: 4 kB / 0.4935 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1265, allocations: 7.984 kB / 0.4935 GB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.1265, allocations: 3.938 kB / 0.4935 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1266, allocations: 31.92 kB / 0.4935 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.1266, allocations: 0 / 0.4935 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1267, allocations: 20.12 kB / 0.4935 GB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1267, allocations: 12 kB / 0.4935 GB, free: 9.039 MB / 366.1 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.0001288/0.1268, allocations: 184.1 kB / 0.4937 GB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.1269, allocations: 15.89 kB / 0.4937 GB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.1269, allocations: 8.719 kB / 0.4937 GB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1269, allocations: 0 / 0.4937 GB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1269, allocations: 7.984 kB / 0.4938 GB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1269, allocations: 7.922 kB / 0.4938 GB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.1271, allocations: 149.3 kB / 0.4939 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1271, allocations: 0 / 0.4939 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1273, allocations: 27.98 kB / 0.4939 GB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1273, allocations: 0 / 0.4939 GB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1273, allocations: 11.92 kB / 0.4939 GB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1273, allocations: 0 / 0.4939 GB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1273, allocations: 0 / 0.4939 GB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.1279, allocations: 259.2 kB / 0.4942 GB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.1279, allocations: 16.05 kB / 0.4942 GB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1279, allocations: 3.938 kB / 0.4942 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.128, allocations: 11.98 kB / 0.4942 GB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1281, allocations: 3.984 kB / 0.4942 GB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.1281, allocations: 8 kB / 0.4942 GB, free: 8.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.867e-05/0.1282, allocations: 103.3 kB / 0.4943 GB, free: 8.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1282, allocations: 0 / 0.4943 GB, free: 8.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.1286, allocations: 75.73 kB / 0.4944 GB, free: 8.109 MB / 366.1 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 0.0001189/0.1287, allocations: 95.23 kB / 0.4945 GB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.1292, allocations: 151.8 kB / 0.4946 GB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1292, allocations: 3.938 kB / 0.4946 GB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1294, allocations: 40.78 kB / 0.4947 GB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1297, allocations: 27.98 kB / 0.4947 GB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.1306, allocations: 460.5 kB / 0.4951 GB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.1307, allocations: 107.9 kB / 0.4952 GB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.1307, allocations: 15.44 kB / 0.4953 GB, free: 7.168 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1307, allocations: 0 / 0.4953 GB, free: 7.168 MB / 366.1 MB Notification: Performance of Templates: time 0.004014/0.1348, allocations: 1.875 MB / 0.4971 GB, free: 5.301 MB / 366.1 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: 7.1359747387468815] Failed to read output from testmodel.py, exit status != 0: 0.1422628932632506 0.15843349999999995 0.036126646000000005 Calling exit ...