Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.001496/0.001496, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 13.93 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.0011/0.0011, allocations: 221.3 kB / 23.01 MB, free: 2.941 MB / 13.93 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 0.9425/0.9425, allocations: 230.6 MB / 256.8 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.02953/0.02953, allocations: 7.622 MB / 320.8 MB, free: 10.67 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 78.38 kB / 445.7 MB, free: 41.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09349, allocations: 55.07 MB / 0.489 GB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003155/0.09665, allocations: 2.552 MB / 0.4915 GB, free: 15.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.098, allocations: 0.8862 MB / 0.4924 GB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.09825, allocations: 35.62 kB / 0.4924 GB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.09847, allocations: 87 kB / 0.4925 GB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.09868, allocations: 71.33 kB / 0.4926 GB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.09942, allocations: 487.1 kB / 0.493 GB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.1001, allocations: 0.9188 MB / 0.4939 GB, free: 13.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1003, allocations: 86.97 kB / 0.494 GB, free: 12.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1005, allocations: 338.9 kB / 0.4944 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.1009, allocations: 306.5 kB / 0.4946 GB, free: 12.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.1009, allocations: 52 kB / 0.4947 GB, free: 12.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1011, allocations: 91.97 kB / 0.4948 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1012, allocations: 179.4 kB / 0.495 GB, free: 11.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1014, allocations: 250.5 kB / 0.4952 GB, free: 11.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.1019, allocations: 0.6728 MB / 0.4958 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1019, allocations: 4 kB / 0.4959 GB, free: 11.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1019, allocations: 0 / 0.4959 GB, free: 11.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1019, allocations: 0 / 0.4959 GB, free: 11.06 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001243/0.1032, allocations: 1.009 MB / 0.4968 GB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1032, allocations: 12.03 kB / 0.4968 GB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1033, allocations: 84.41 kB / 0.4969 GB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.1039, allocations: 458.5 kB / 0.4974 GB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.104, allocations: 75.56 kB / 0.4974 GB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.104, allocations: 64.38 kB / 0.4975 GB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.1048, allocations: 0.7356 MB / 0.4982 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.1048, allocations: 7.875 kB / 0.4982 GB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.1049, allocations: 28 kB / 0.4983 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1049, allocations: 16 kB / 0.4983 GB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.1055, allocations: 0.5055 MB / 0.4988 GB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.1075, allocations: 1.934 MB / 0.5006 GB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.1081, allocations: 397.3 kB / 0.501 GB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.1084, allocations: 284.7 kB / 0.5013 GB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.1085, allocations: 7.938 kB / 0.5013 GB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.1089, allocations: 389.8 kB / 0.5017 GB, free: 4.852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 3.877e-06/0.1089, allocations: 3.984 kB / 0.5017 GB, free: 4.848 MB / 362.7 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_s) - pre(R_disc.PV_s)) + 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_s) - pre(R_disc.PV_s)) + 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: 1.956102848984301]