Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 251 MB, free: 13.01 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.06225/0.06225, allocations: 11.34 MB / 317.6 MB, free: 13.77 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.88 kB / 443 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1201, allocations: 54.89 MB / 497.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004315/0.1244, allocations: 2.716 MB / 0.4889 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1263, allocations: 0.8392 MB / 0.4897 GB, free: 11.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.1266, allocations: 39.62 kB / 0.4898 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.1269, allocations: 83.06 kB / 0.4898 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1271, allocations: 59.34 kB / 0.4899 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1282, allocations: 443.1 kB / 0.4903 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.1294, allocations: 0.8525 MB / 0.4911 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.1296, allocations: 86.95 kB / 0.4912 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.1301, allocations: 311 kB / 0.4915 GB, free: 9.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.1306, allocations: 302.5 kB / 0.4918 GB, free: 9.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.1307, allocations: 48 kB / 0.4919 GB, free: 9.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.1308, allocations: 99.95 kB / 0.492 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.1311, allocations: 171.4 kB / 0.4921 GB, free: 9.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.1314, allocations: 294.2 kB / 0.4924 GB, free: 9.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008429/0.1322, allocations: 0.6222 MB / 0.493 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1322, allocations: 0 / 0.493 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1322, allocations: 4 kB / 0.493 GB, free: 8.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1322, allocations: 0 / 0.493 GB, free: 8.461 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001939/0.1342, allocations: 0.9656 MB / 0.4939 GB, free: 7.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1342, allocations: 12.92 kB / 0.494 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1344, allocations: 76.47 kB / 0.494 GB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.1352, allocations: 454.5 kB / 0.4945 GB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.503e-05/0.1352, allocations: 71.25 kB / 0.4945 GB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1354, allocations: 64.33 kB / 0.4946 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1365, allocations: 0.6579 MB / 0.4952 GB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.1366, allocations: 7.938 kB / 0.4952 GB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.1366, allocations: 24 kB / 0.4953 GB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.1367, allocations: 15.98 kB / 0.4953 GB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.1376, allocations: 459.6 kB / 0.4957 GB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.1407, allocations: 2.084 MB / 0.4978 GB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.1416, allocations: 335.2 kB / 0.4981 GB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.142, allocations: 204.3 kB / 0.4983 GB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.142, allocations: 4 kB / 0.4983 GB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006091/0.1426, allocations: 319.5 kB / 0.4986 GB, free: 2.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.445e-06/0.1426, allocations: 0 / 0.4986 GB, free: 2.535 MB / 366.1 MB [/var/lib/jenkins/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_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6060059312731028] Failed to read output from testmodel.py, exit status != 0: 0.15192783251404762 0.167145127 0.031862470000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f677439d7b0>