Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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.001267/0.001267, 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.001429/0.001429, allocations: 221.2 kB / 23 MB, free: 4.91 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06682/0.06682, allocations: 11.34 MB / 324.5 MB, free: 8.16 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.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(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [Timeout 660] "Notification: IndustrialControlSystems 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.002134/0.002134, allocations: 71.88 kB / 452.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1125, allocations: 56.06 MB / 0.4964 GB, free: 1.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004782/0.1173, allocations: 2.876 MB / 0.4992 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.1216, allocations: 2.247 MB / 0.5014 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004494/0.1221, allocations: 43.5 kB / 0.5014 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.1231, allocations: 413.2 kB / 0.5018 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008604/0.124, allocations: 370.3 kB / 0.5022 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.1258, allocations: 0.7967 MB / 0.5029 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.1273, allocations: 1.241 MB / 0.5042 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.1275, allocations: 112 kB / 0.5043 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006417/0.1282, allocations: 0.4944 MB / 0.5047 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006608/0.1288, allocations: 490 kB / 0.5052 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.129, allocations: 64 kB / 0.5053 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.1295, allocations: 311.6 kB / 0.5056 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003531/0.1299, allocations: 267.1 kB / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.1303, allocations: 326.3 kB / 0.5061 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.1317, allocations: 1.054 MB / 0.5072 GB, free: 6.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1317, allocations: 0 / 0.5072 GB, free: 6.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1317, allocations: 0 / 0.5072 GB, free: 6.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.1317, allocations: 4 kB / 0.5072 GB, free: 6.578 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002515/0.1342, allocations: 1.438 MB / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1343, allocations: 12.03 kB / 0.5086 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.1345, allocations: 120.2 kB / 0.5087 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.1357, allocations: 0.6426 MB / 0.5093 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.1358, allocations: 53.67 kB / 0.5094 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.1359, allocations: 68.08 kB / 0.5094 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1372, allocations: 0.8203 MB / 0.5102 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.1372, allocations: 3.938 kB / 0.5102 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/0.1373, allocations: 31.92 kB / 0.5103 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1373, allocations: 16 kB / 0.5103 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/0.1382, allocations: 0.5263 MB / 0.5108 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/0.1416, allocations: 2.173 MB / 0.5129 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2335/0.3751, allocations: 0.5188 MB / 0.5134 GB, free: 23.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.3757, allocations: 329.6 kB / 0.5138 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.3757, allocations: 6.469 kB / 0.5138 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000786/0.3765, allocations: 0.5613 MB / 0.5143 GB, free: 23.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.066e-06/0.3765, allocations: 3.844 kB / 0.5143 GB, free: 23.02 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) R.satin R.cs R.satDiff R.Iaction when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R.satin R.cs R.satDiff R.Iaction equations: when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.771336628124118] Failed to read output from testmodel.py, exit status != 0: 0.38621965190395713 0.39813536899999996 0.26362410899999994 Calling exit ...