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.001458/0.001458, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001592/0.001592, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.793 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.06802/0.06802, allocations: 11.34 MB / 323.8 MB, free: 8.027 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.002767/0.002767, allocations: 63.89 kB / 451.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1773, allocations: 56.06 MB / 0.4956 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004908/0.1822, allocations: 2.553 MB / 0.4981 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1843, allocations: 0.8042 MB / 0.4989 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004997/0.1848, allocations: 27.69 kB / 0.4989 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.1852, allocations: 91.06 kB / 0.499 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.1857, allocations: 55.34 kB / 0.4991 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1871, allocations: 439.2 kB / 0.4995 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.1885, allocations: 0.8408 MB / 0.5003 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.1888, allocations: 98.81 kB / 0.5004 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006084/0.1894, allocations: 303 kB / 0.5007 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005811/0.19, allocations: 282.5 kB / 0.501 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.1902, allocations: 52 kB / 0.501 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1904, allocations: 83.97 kB / 0.5011 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.1907, allocations: 179.4 kB / 0.5013 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.191, allocations: 234.6 kB / 0.5015 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.192, allocations: 0.6299 MB / 0.5021 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.192, allocations: 4 kB / 0.5021 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.192, allocations: 0 / 0.5021 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.79e-05/0.192, allocations: 0 / 0.5021 GB, free: 11 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.002259/0.1943, allocations: 0.9637 MB / 0.503 GB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1943, allocations: 12.03 kB / 0.5031 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.1945, allocations: 84.36 kB / 0.5031 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009869/0.1955, allocations: 454.6 kB / 0.5036 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1956, allocations: 71.27 kB / 0.5036 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.1957, allocations: 64.36 kB / 0.5037 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.197, allocations: 0.6948 MB / 0.5044 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.1971, allocations: 15.83 kB / 0.5044 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.1971, allocations: 27.98 kB / 0.5044 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1972, allocations: 16 kB / 0.5044 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1982, allocations: 497.3 kB / 0.5049 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.2017, allocations: 1.893 MB / 0.5068 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009253/0.2026, allocations: 356.6 kB / 0.5071 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.2031, allocations: 240.8 kB / 0.5073 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.2031, allocations: 4 kB / 0.5073 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006679/0.2038, allocations: 369.8 kB / 0.5077 GB, free: 5.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.045e-06/0.2038, allocations: 0 / 0.5077 GB, free: 5.039 MB / 382.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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1074099354445934] Failed to read output from testmodel.py, exit status != 0: 0.21602295525372028 0.450081302 0.255260207 Calling exit ...