Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001481/0.001481, 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.001587/0.001587, allocations: 225 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.517/1.517, 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/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04253/0.04253, allocations: 8.545 MB / 321.7 MB, free: 10.44 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_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.002181/0.002181, allocations: 67.84 kB / 448.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1086, allocations: 55.43 MB / 0.4917 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.00345/0.112, allocations: 1.851 MB / 0.4935 GB, free: 5.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.1147, allocations: 1.699 MB / 0.4952 GB, free: 4.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.1148, allocations: 0 / 0.4952 GB, free: 4.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.1151, allocations: 107.5 kB / 0.4953 GB, free: 4.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.1156, allocations: 175.3 kB / 0.4955 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.116, allocations: 182 kB / 0.4956 GB, free: 3.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.1164, allocations: 287.3 kB / 0.4959 GB, free: 3.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1165, allocations: 28.58 kB / 0.4959 GB, free: 3.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.1168, allocations: 123.5 kB / 0.4961 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.117, allocations: 135.4 kB / 0.4962 GB, free: 3.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.1171, allocations: 20 kB / 0.4962 GB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.1173, allocations: 120 kB / 0.4963 GB, free: 3.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1174, allocations: 55.75 kB / 0.4964 GB, free: 3.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1175, allocations: 87.47 kB / 0.4965 GB, free: 2.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.118, allocations: 334.6 kB / 0.4968 GB, free: 2.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.118, allocations: 0 / 0.4968 GB, free: 2.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.118, allocations: 0 / 0.4968 GB, free: 2.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.118, allocations: 0 / 0.4968 GB, free: 2.594 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.0009137/0.1189, allocations: 0.5583 MB / 0.4973 GB, free: 1.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1189, allocations: 16.03 kB / 0.4973 GB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.119, allocations: 36.69 kB / 0.4974 GB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1194, allocations: 226.6 kB / 0.4976 GB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1194, allocations: 4.375 kB / 0.4976 GB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1194, allocations: 16.12 kB / 0.4976 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.1199, allocations: 232.4 kB / 0.4978 GB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1199, allocations: 0 / 0.4978 GB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.1199, allocations: 7.984 kB / 0.4978 GB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1199, allocations: 4 kB / 0.4978 GB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.1202, allocations: 159.3 kB / 0.498 GB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009853/0.1212, allocations: 428.1 kB / 0.4984 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.1215, allocations: 161.9 kB / 0.4986 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1217, allocations: 120.2 kB / 0.4987 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1217, allocations: 0 / 0.4987 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1218, allocations: 34.56 kB / 0.4987 GB, free: 444 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1218, allocations: 0 / 0.4987 GB, free: 444 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008105/0.1226, allocations: 423.8 kB / 0.4991 GB, free: 15.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.1227, allocations: 140.5 kB / 0.4992 GB, free: 15.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.1232, allocations: 392.5 kB / 0.4996 GB, free: 15.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.1232, allocations: 25.7 kB / 0.4996 GB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.1233, allocations: 160 kB / 0.4998 GB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.1234, allocations: 35.73 kB / 0.4998 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.1234, allocations: 37.95 kB / 0.4999 GB, free: 15.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1236, allocations: 330.8 kB / 0.5002 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1238, allocations: 115.4 kB / 0.5003 GB, free: 14.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.124, allocations: 162.8 kB / 0.5004 GB, free: 14.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.1244, allocations: 235.6 kB / 0.5007 GB, free: 14.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1244, allocations: 0 / 0.5007 GB, free: 14.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000495/0.1249, allocations: 300.3 kB / 0.501 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.125, allocations: 67.39 kB / 0.501 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.125, allocations: 7.922 kB / 0.501 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.125, allocations: 0 / 0.501 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1251, allocations: 15.98 kB / 0.501 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1251, allocations: 7.938 kB / 0.5011 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1253, allocations: 39.86 kB / 0.5011 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1254, allocations: 8 kB / 0.5011 GB, free: 13.77 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.0002117/0.1256, allocations: 213.2 kB / 0.5013 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.1256, allocations: 27.86 kB / 0.5013 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.1262, allocations: 326.2 kB / 0.5016 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1262, allocations: 7.984 kB / 0.5016 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1262, allocations: 7.938 kB / 0.5017 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1262, allocations: 0 / 0.5017 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.1265, allocations: 197.2 kB / 0.5018 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1265, allocations: 4.094 kB / 0.5018 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.1266, allocations: 19.92 kB / 0.5019 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1266, allocations: 0 / 0.5019 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1266, allocations: 8 kB / 0.5019 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1266, allocations: 0 / 0.5019 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1266, allocations: 320 / 0.5019 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.1272, allocations: 430 kB / 0.5023 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.1273, allocations: 35.83 kB / 0.5023 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.1273, allocations: 8 kB / 0.5023 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1276, allocations: 31.97 kB / 0.5024 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.1276, allocations: 15.92 kB / 0.5024 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1276, allocations: 8 kB / 0.5024 GB, free: 12.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003357/0.128, allocations: 287 kB / 0.5027 GB, free: 12.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.128, allocations: 8 kB / 0.5027 GB, free: 12.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.1283, allocations: 63.88 kB / 0.5027 GB, free: 11.98 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.001676/0.13, allocations: 485.4 kB / 0.5032 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.1306, allocations: 361.5 kB / 0.5035 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1306, allocations: 4 kB / 0.5035 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1309, allocations: 238.1 kB / 0.5038 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1313, allocations: 54.92 kB / 0.5038 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/0.1323, allocations: 0.558 MB / 0.5044 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.1324, allocations: 164.3 kB / 0.5045 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.1325, allocations: 19.44 kB / 0.5045 GB, free: 10.16 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1325, allocations: 0 / 0.5045 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Templates: time 0.006692/0.1392, allocations: 3.786 MB / 0.5082 GB, free: 6.375 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.820757860783488] Failed to read output from testmodel.py, exit status != 0: 0.14719890803098679 0.345224508 0.22446526599999994 Calling exit ...