Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.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.001415/0.001415, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001536/0.001536, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04408/0.04408, allocations: 8.547 MB / 321 MB, free: 10.41 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660] "Notification: EHPTlib 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.002368/0.002368, allocations: 71.89 kB / 447.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1169, allocations: 55.43 MB / 0.491 GB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003998/0.1209, allocations: 1.851 MB / 0.4928 GB, free: 5.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.124, allocations: 1.691 MB / 0.4945 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1241, allocations: 0 / 0.4945 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1245, allocations: 115.5 kB / 0.4946 GB, free: 3.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005922/0.1251, allocations: 175.3 kB / 0.4947 GB, free: 3.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.1256, allocations: 185.2 kB / 0.4949 GB, free: 3.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.1261, allocations: 287.3 kB / 0.4952 GB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1263, allocations: 24.58 kB / 0.4952 GB, free: 3.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.1266, allocations: 123.5 kB / 0.4953 GB, free: 3.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.1268, allocations: 131.5 kB / 0.4955 GB, free: 3.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.1269, allocations: 16 kB / 0.4955 GB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.1272, allocations: 119.9 kB / 0.4956 GB, free: 2.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1273, allocations: 55.78 kB / 0.4956 GB, free: 2.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1274, allocations: 87.45 kB / 0.4957 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.128, allocations: 342.6 kB / 0.4961 GB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.128, allocations: 0 / 0.4961 GB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.128, allocations: 0 / 0.4961 GB, free: 2.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.128, allocations: 0 / 0.4961 GB, free: 2.43 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001004/0.129, allocations: 0.5583 MB / 0.4966 GB, free: 1.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.129, allocations: 12.03 kB / 0.4966 GB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.1291, allocations: 32.75 kB / 0.4966 GB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.1295, allocations: 234.5 kB / 0.4969 GB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1295, allocations: 8.375 kB / 0.4969 GB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.1295, allocations: 12.12 kB / 0.4969 GB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.13, allocations: 232.4 kB / 0.4971 GB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.13, allocations: 0 / 0.4971 GB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.13, allocations: 8 kB / 0.4971 GB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.13, allocations: 7.938 kB / 0.4971 GB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.1304, allocations: 155.3 kB / 0.4973 GB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1315, allocations: 432.1 kB / 0.4977 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.1318, allocations: 153.9 kB / 0.4978 GB, free: 460 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.132, allocations: 124.2 kB / 0.4979 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.132, allocations: 0 / 0.4979 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.1321, allocations: 34.56 kB / 0.498 GB, free: 276 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1321, allocations: 0 / 0.498 GB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009101/0.133, allocations: 427.9 kB / 0.4984 GB, free: 15.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1331, allocations: 140.5 kB / 0.4985 GB, free: 15.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.1336, allocations: 388.5 kB / 0.4989 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.1337, allocations: 33.7 kB / 0.4989 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1338, allocations: 160 kB / 0.4991 GB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.1339, allocations: 35.73 kB / 0.4991 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.1339, allocations: 33.67 kB / 0.4991 GB, free: 14.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1341, allocations: 334.8 kB / 0.4995 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.1343, allocations: 115.4 kB / 0.4996 GB, free: 14.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.1346, allocations: 158.7 kB / 0.4997 GB, free: 14.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.135, allocations: 231.6 kB / 0.4999 GB, free: 14.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.135, allocations: 0 / 0.4999 GB, free: 14.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005417/0.1355, allocations: 304.6 kB / 0.5002 GB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.1356, allocations: 67.33 kB / 0.5003 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1356, allocations: 3.938 kB / 0.5003 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1356, allocations: 0 / 0.5003 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1357, allocations: 15.98 kB / 0.5003 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1358, allocations: 7.938 kB / 0.5003 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.136, allocations: 39.92 kB / 0.5004 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.136, allocations: 4 kB / 0.5004 GB, free: 13.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fileTxtLimits.state,fixedLimits.state) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0002518/0.1363, allocations: 213.2 kB / 0.5006 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.1363, allocations: 27.86 kB / 0.5006 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.137, allocations: 330.2 kB / 0.5009 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.137, allocations: 4 kB / 0.5009 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.137, allocations: 3.938 kB / 0.5009 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.137, allocations: 7.984 kB / 0.5009 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.1373, allocations: 197.2 kB / 0.5011 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1373, allocations: 0 / 0.5011 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.1374, allocations: 19.98 kB / 0.5011 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1374, allocations: 0 / 0.5011 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1375, allocations: 8 kB / 0.5011 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1375, allocations: 0 / 0.5011 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1375, allocations: 3.938 kB / 0.5011 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.1381, allocations: 422 kB / 0.5015 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1382, allocations: 43.83 kB / 0.5016 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1382, allocations: 4 kB / 0.5016 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.1385, allocations: 31.97 kB / 0.5016 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/0.1386, allocations: 19.92 kB / 0.5016 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1386, allocations: 4 kB / 0.5016 GB, free: 12.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003573/0.1389, allocations: 291 kB / 0.5019 GB, free: 11.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1389, allocations: 3.938 kB / 0.5019 GB, free: 11.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.1393, allocations: 67.88 kB / 0.502 GB, free: 11.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fixedLimits.state,fileTxtLimits.state) * Number of discrete states: 2 (fileTxtLimits.state,fixedLimits.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.001787/0.1411, allocations: 491.7 kB / 0.5025 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.1417, allocations: 353.5 kB / 0.5028 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1417, allocations: 4 kB / 0.5028 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.142, allocations: 246.1 kB / 0.503 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.1425, allocations: 50.19 kB / 0.5031 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1436, allocations: 0.5368 MB / 0.5036 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.1438, allocations: 148.4 kB / 0.5037 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.1439, allocations: 25.36 kB / 0.5038 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/0.144, allocations: 27.38 kB / 0.5038 GB, free: 10 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.144, allocations: 0 / 0.5038 GB, free: 10 MB / 382.1 MB Notification: Performance of Templates: time 0.00985/0.1539, allocations: 4.111 MB / 0.5078 GB, free: 5.902 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.894177244976163] Failed to read output from testmodel.py, exit status != 0: 0.16375594027340412 0.394211109 0.262948367 Calling exit ...