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.001358/0.001358, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001335/0.001335, allocations: 197.6 kB / 22.17 MB, free: 5.211 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.447/1.447, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.08569/0.08569, allocations: 11.35 MB / 317.5 MB, free: 13.91 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-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.003147/0.003147, allocations: 59.89 kB / 442.7 MB, free: 6.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1417, allocations: 54.83 MB / 497.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.005068/0.1468, allocations: 2.733 MB / 0.4886 GB, free: 13.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1487, allocations: 0.8315 MB / 0.4894 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.1489, allocations: 19.81 kB / 0.4894 GB, free: 12.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1492, allocations: 87.06 kB / 0.4895 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1495, allocations: 59.34 kB / 0.4896 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009867/0.1504, allocations: 415.2 kB / 0.49 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1515, allocations: 0.794 MB / 0.4907 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.1517, allocations: 85.72 kB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.1521, allocations: 295 kB / 0.4911 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/0.1525, allocations: 298.6 kB / 0.4914 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.1526, allocations: 48 kB / 0.4914 GB, free: 10.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1528, allocations: 95.95 kB / 0.4915 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.153, allocations: 175.3 kB / 0.4917 GB, free: 9.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.1533, allocations: 294.2 kB / 0.492 GB, free: 9.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000825/0.1541, allocations: 0.6298 MB / 0.4926 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1541, allocations: 0 / 0.4926 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1541, allocations: 0 / 0.4926 GB, free: 8.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1541, allocations: 0 / 0.4926 GB, free: 8.98 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.00225/0.1564, allocations: 1.045 MB / 0.4936 GB, free: 7.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1564, allocations: 8.031 kB / 0.4936 GB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.1566, allocations: 80.47 kB / 0.4937 GB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.1575, allocations: 0.5135 MB / 0.4942 GB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/0.1576, allocations: 71.2 kB / 0.4943 GB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.1577, allocations: 64.31 kB / 0.4943 GB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.159, allocations: 0.6618 MB / 0.495 GB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.159, allocations: 11.88 kB / 0.495 GB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.1591, allocations: 20 kB / 0.495 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.1591, allocations: 12 kB / 0.495 GB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.1601, allocations: 459.6 kB / 0.4954 GB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.1635, allocations: 2.12 MB / 0.4975 GB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.1644, allocations: 328.5 kB / 0.4978 GB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.1648, allocations: 205.4 kB / 0.498 GB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.1648, allocations: 7.984 kB / 0.498 GB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006177/0.1655, allocations: 323.4 kB / 0.4983 GB, free: 2.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 3.015e-06/0.1655, allocations: 0 / 0.4983 GB, free: 2.828 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:8016:5-8016:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.68135749315843] Failed to read output from testmodel.py, exit status != 0: 0.17620331700891256 0.19082659700000001 0.03345568 Calling exit ...