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.001536/0.001536, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001723/0.001723, allocations: 214 kB / 23.01 MB, free: 4.566 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.04102/0.04102, allocations: 8.54 MB / 321.7 MB, free: 10.64 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.002001/0.002001, allocations: 71.89 kB / 448.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1053, allocations: 55.43 MB / 0.4918 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003553/0.1088, allocations: 1.904 MB / 0.4937 GB, free: 6.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.1114, allocations: 1.761 MB / 0.4954 GB, free: 4.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.1115, allocations: 0 / 0.4954 GB, free: 4.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.1118, allocations: 111.5 kB / 0.4955 GB, free: 4.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.1123, allocations: 167.3 kB / 0.4957 GB, free: 3.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.1127, allocations: 187.6 kB / 0.4958 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.1131, allocations: 291.3 kB / 0.4961 GB, free: 3.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1132, allocations: 28.58 kB / 0.4961 GB, free: 3.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.1135, allocations: 119.5 kB / 0.4963 GB, free: 3.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.1137, allocations: 139.5 kB / 0.4964 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1138, allocations: 16 kB / 0.4964 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.114, allocations: 135.9 kB / 0.4965 GB, free: 3.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.114, allocations: 47.83 kB / 0.4966 GB, free: 3.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1142, allocations: 119.2 kB / 0.4967 GB, free: 2.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.1146, allocations: 330.7 kB / 0.497 GB, free: 2.605 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1146, allocations: 4 kB / 0.497 GB, free: 2.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1146, allocations: 0 / 0.497 GB, free: 2.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1146, allocations: 0 / 0.497 GB, free: 2.602 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.0008206/0.1154, allocations: 0.5699 MB / 0.4976 GB, free: 1.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1154, allocations: 8.031 kB / 0.4976 GB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.1155, allocations: 32.75 kB / 0.4976 GB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1159, allocations: 218.6 kB / 0.4978 GB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1159, allocations: 12.31 kB / 0.4978 GB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.1159, allocations: 24.12 kB / 0.4979 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.1162, allocations: 146.2 kB / 0.498 GB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1162, allocations: 0 / 0.498 GB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1163, allocations: 8 kB / 0.498 GB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1163, allocations: 0 / 0.498 GB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.1165, allocations: 95.92 kB / 0.4981 GB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.1175, allocations: 491.4 kB / 0.4986 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1177, allocations: 94.53 kB / 0.4986 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1179, allocations: 64.84 kB / 0.4987 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1179, allocations: 7.938 kB / 0.4987 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1179, allocations: 34.56 kB / 0.4987 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1179, allocations: 0 / 0.4987 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006834/0.1186, allocations: 316.9 kB / 0.4991 GB, free: 360 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.1187, allocations: 132.5 kB / 0.4992 GB, free: 196 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.1192, allocations: 388.5 kB / 0.4995 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.1192, allocations: 29.98 kB / 0.4996 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1193, allocations: 156 kB / 0.4997 GB, free: 15.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1193, allocations: 35.81 kB / 0.4998 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.1194, allocations: 45.59 kB / 0.4998 GB, free: 15.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1196, allocations: 338.8 kB / 0.5001 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1197, allocations: 51.97 kB / 0.5002 GB, free: 15.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.1199, allocations: 65.67 kB / 0.5002 GB, free: 15.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.1202, allocations: 231.6 kB / 0.5005 GB, free: 14.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1202, allocations: 3.938 kB / 0.5005 GB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000432/0.1206, allocations: 244.9 kB / 0.5007 GB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.1207, allocations: 67.39 kB / 0.5008 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1207, allocations: 0 / 0.5008 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1207, allocations: 3.938 kB / 0.5008 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1208, allocations: 15.98 kB / 0.5008 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1208, allocations: 0 / 0.5008 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.1211, allocations: 43.86 kB / 0.5008 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1211, allocations: 8 kB / 0.5008 GB, free: 14.4 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.0002035/0.1213, allocations: 213.2 kB / 0.501 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.1213, allocations: 27.86 kB / 0.5011 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.1218, allocations: 270.8 kB / 0.5013 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1218, allocations: 7.922 kB / 0.5013 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1218, allocations: 96 / 0.5013 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1218, allocations: 3.938 kB / 0.5013 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.1221, allocations: 264.5 kB / 0.5016 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1222, allocations: 4 kB / 0.5016 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.823e-05/0.1222, allocations: 19.98 kB / 0.5016 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1222, allocations: 0 / 0.5016 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1223, allocations: 7.984 kB / 0.5016 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1223, allocations: 3.938 kB / 0.5016 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1223, allocations: 3.938 kB / 0.5016 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.1227, allocations: 367 kB / 0.502 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.1228, allocations: 35.83 kB / 0.502 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1229, allocations: 4 kB / 0.502 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.1231, allocations: 39.91 kB / 0.502 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.1232, allocations: 11.98 kB / 0.5021 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1232, allocations: 4 kB / 0.5021 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.1235, allocations: 295 kB / 0.5023 GB, free: 12.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1235, allocations: 0 / 0.5023 GB, free: 12.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.1238, allocations: 67.88 kB / 0.5024 GB, free: 12.67 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.00149/0.1253, allocations: 452.2 kB / 0.5028 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.1258, allocations: 242.7 kB / 0.5031 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.1258, allocations: 4 kB / 0.5031 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.126, allocations: 174.8 kB / 0.5032 GB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.1264, allocations: 48.22 kB / 0.5033 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/0.1272, allocations: 0.5194 MB / 0.5038 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1276, allocations: 0.7551 MB / 0.5045 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.1277, allocations: 27.42 kB / 0.5046 GB, free: 10.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1277, allocations: 0 / 0.5046 GB, free: 10.52 MB / 382.1 MB Notification: Performance of Templates: time 0.006036/0.1337, allocations: 3.72 MB / 0.5082 GB, free: 6.805 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.466247626114637] Failed to read output from testmodel.py, exit status != 0: 0.1412206629756838 0.318270902 0.20084976200000002 Calling exit ...