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.000687/0.000687, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008856/0.001573, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0006934/0.0006934, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008646/0.001558, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9645/0.9645, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08878/1.053, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.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.05378/0.05378, allocations: 5.886 MB / 249.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004331/0.05811, allocations: 2.12 MB / 252.1 MB, free: 7.223 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 1.373e-06/1.373e-06, allocations: 0 / 253.3 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.387e-05, allocations: 2.312 kB / 253.3 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002717/0.002741, allocations: 2.681 MB / 256 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003988, allocations: 0.9248 MB / 256.9 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.00417, allocations: 35.62 kB / 257 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.004297, allocations: 94.98 kB / 257 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.004416, allocations: 63.3 kB / 257.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.005037, allocations: 0.499 MB / 257.6 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.005621, allocations: 0.8018 MB / 258.4 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.005748, allocations: 94.17 kB / 258.5 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.006103, allocations: 439.1 kB / 258.9 MB, free: 320 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.006325, allocations: 251.2 kB / 259.2 MB, free: 68 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.006387, allocations: 56 kB / 259.2 MB, free: 12 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.006506, allocations: 95.89 kB / 259.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.006602, allocations: 139.5 kB / 259.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.006716, allocations: 147.6 kB / 259.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.007071, allocations: 470.1 kB / 260.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.007079, allocations: 4 kB / 260.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.007079, allocations: 0 / 260.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.007091, allocations: 0 / 260.1 MB, free: 15.17 MB / 266.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.0009802/0.008072, allocations: 1.073 MB / 261.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.0081, allocations: 8.031 kB / 261.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.008205, allocations: 104.8 kB / 261.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.008616, allocations: 439.2 kB / 261.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.008665, allocations: 75.56 kB / 261.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.008722, allocations: 64.38 kB / 261.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.009202, allocations: 0.5788 MB / 262.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.009219, allocations: 8.141 kB / 262.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.009251, allocations: 28.36 kB / 262.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.009263, allocations: 16.12 kB / 262.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.009503, allocations: 252.2 kB / 262.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.01096, allocations: 1.539 MB / 264.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.01134, allocations: 331.8 kB / 264.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.0115, allocations: 175.5 kB / 264.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.01153, allocations: 8 kB / 264.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.01177, allocations: 320.6 kB / 265 MB, free: 9.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.864e-06/0.01178, allocations: 7.938 kB / 265.1 MB, free: 9.949 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.4540846142917871]