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.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.001679/0.001679, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001566/0.001566, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.06651/0.06651, allocations: 11.36 MB / 324.5 MB, free: 8.012 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.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: 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.002164/0.002164, allocations: 71.89 kB / 452.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1207, allocations: 56.06 MB / 0.4964 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004174/0.1248, allocations: 2.543 MB / 0.4988 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1266, allocations: 0.8042 MB / 0.4996 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.1268, allocations: 35.62 kB / 0.4997 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.1271, allocations: 87.06 kB / 0.4998 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1273, allocations: 59.33 kB / 0.4998 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.1282, allocations: 431.2 kB / 0.5002 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009946/0.1292, allocations: 0.8486 MB / 0.501 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1294, allocations: 94.89 kB / 0.5011 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.1298, allocations: 310.9 kB / 0.5014 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.1302, allocations: 278.6 kB / 0.5017 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/0.1303, allocations: 48 kB / 0.5017 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.1305, allocations: 91.95 kB / 0.5018 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.1307, allocations: 171.4 kB / 0.502 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.1309, allocations: 238.6 kB / 0.5022 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.1318, allocations: 0.6338 MB / 0.5028 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1318, allocations: 0 / 0.5028 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1318, allocations: 0 / 0.5028 GB, free: 10.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1318, allocations: 0 / 0.5028 GB, free: 10.99 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001895/0.1337, allocations: 0.9695 MB / 0.5038 GB, free: 9.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1337, allocations: 8.031 kB / 0.5038 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1339, allocations: 88.42 kB / 0.5039 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.1347, allocations: 450.6 kB / 0.5043 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.1348, allocations: 67.27 kB / 0.5044 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.1349, allocations: 60.36 kB / 0.5044 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.1362, allocations: 0.7026 MB / 0.5051 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.1362, allocations: 15.88 kB / 0.5051 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/0.1363, allocations: 27.94 kB / 0.5052 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1363, allocations: 12 kB / 0.5052 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000994/0.1373, allocations: 497.3 kB / 0.5056 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.1404, allocations: 1.886 MB / 0.5075 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.1413, allocations: 356.5 kB / 0.5078 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.1417, allocations: 235.3 kB / 0.5081 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1418, allocations: 8 kB / 0.5081 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006726/0.1424, allocations: 365.8 kB / 0.5084 GB, free: 5.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.306e-06/0.1424, allocations: 0 / 0.5084 GB, free: 5.047 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_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/jenkins1/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/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.7556476816534996] Failed to read output from testmodel.py, exit status != 0: 0.1531545165926218 0.34381921400000004 0.209388223 Calling exit ...