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.001283/0.001283, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.00122/0.00122, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.504/1.504, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06594/0.06594, allocations: 11.33 MB / 314.7 MB, free: 0.8086 MB / 238.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-master/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.003002/0.003002, allocations: 71.88 kB / 438.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2366, allocations: 54.82 MB / 493.3 MB, free: 24.12 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00326/0.2399, allocations: 2.713 MB / 496 MB, free: 22.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2413, allocations: 0.8343 MB / 496.9 MB, free: 21.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.2415, allocations: 22.88 kB / 496.9 MB, free: 21.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.2417, allocations: 90.06 kB / 497 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2419, allocations: 62.44 kB / 497 MB, free: 21.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.2426, allocations: 405 kB / 497.4 MB, free: 21.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.2433, allocations: 0.8082 MB / 498.2 MB, free: 20.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2435, allocations: 86.55 kB / 498.3 MB, free: 20.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.2438, allocations: 298.2 kB / 498.6 MB, free: 20.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.2441, allocations: 317.1 kB / 498.9 MB, free: 20.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/0.2442, allocations: 50.19 kB / 499 MB, free: 20.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.2443, allocations: 89.52 kB / 499.1 MB, free: 20.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.2445, allocations: 164.6 kB / 499.2 MB, free: 20.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.2446, allocations: 297.1 kB / 499.5 MB, free: 20.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.2452, allocations: 0.6292 MB / 0.4884 GB, free: 19.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2452, allocations: 0 / 0.4884 GB, free: 19.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2452, allocations: 0 / 0.4884 GB, free: 19.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.2452, allocations: 4 kB / 0.4884 GB, free: 19.66 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.001476/0.2467, allocations: 1.04 MB / 0.4894 GB, free: 18.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.2467, allocations: 9 kB / 0.4895 GB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.2468, allocations: 79.5 kB / 0.4895 GB, free: 18.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.2475, allocations: 0.5171 MB / 0.49 GB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.2476, allocations: 71.86 kB / 0.4901 GB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.2477, allocations: 61.61 kB / 0.4902 GB, free: 18.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.2486, allocations: 0.6588 MB / 0.4908 GB, free: 17.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.2486, allocations: 15.17 kB / 0.4908 GB, free: 17.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.2487, allocations: 24.53 kB / 0.4908 GB, free: 17.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2487, allocations: 12.12 kB / 0.4909 GB, free: 17.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.2495, allocations: 450.5 kB / 0.4913 GB, free: 17.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.2521, allocations: 2.124 MB / 0.4934 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.2529, allocations: 326.6 kB / 0.4937 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.2532, allocations: 200.4 kB / 0.4939 GB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.2532, allocations: 8.281 kB / 0.4939 GB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.2538, allocations: 327 kB / 0.4942 GB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.924e-06/0.2538, allocations: 0 / 0.4942 GB, free: 15.38 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.533043577001081] Failed to read output from testmodel.py, exit status != 0: 0.2636535229976289 0.27131593699999995 0.024022844 Calling exit ...