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.0008878/0.0008878, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001376/0.001376, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9477/0.9477, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.04316/0.04316, allocations: 8.626 MB / 268.9 MB, free: 4.789 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 288 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.652e-05, allocations: 2.312 kB / 288 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.1303/0.1303, allocations: 2.585 MB / 290.6 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1319, allocations: 0.8452 MB / 291.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.1322, allocations: 31.66 kB / 291.5 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1325, allocations: 89.66 kB / 291.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1327, allocations: 62.5 kB / 291.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1339, allocations: 472.4 kB / 292.1 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009527/0.1348, allocations: 0.7446 MB / 292.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.135, allocations: 84.48 kB / 292.9 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.1356, allocations: 379.2 kB / 293.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.1359, allocations: 231.8 kB / 293.5 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.1361, allocations: 50.72 kB / 293.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1362, allocations: 88.7 kB / 293.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1364, allocations: 166.7 kB / 293.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.1366, allocations: 186.2 kB / 294 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006549/0.1372, allocations: 0.4937 MB / 294.5 MB, free: 17.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1372, allocations: 6.859 kB / 294.5 MB, free: 17.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1372, allocations: 0 / 294.5 MB, free: 17.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.1372, allocations: 0.8125 kB / 294.5 MB, free: 17.23 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001282/0.1385, allocations: 0.9102 MB / 295.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1385, allocations: 8.906 kB / 295.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1387, allocations: 99.88 kB / 295.5 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.1392, allocations: 425.6 kB / 296 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.644e-05/0.1393, allocations: 73.31 kB / 296 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.1394, allocations: 58.11 kB / 296.1 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.14, allocations: 0.5464 MB / 296.6 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1401, allocations: 2.312 kB / 296.6 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.1401, allocations: 27.38 kB / 296.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1401, allocations: 20.19 kB / 296.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.1404, allocations: 226.2 kB / 296.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.142, allocations: 1.527 MB / 298.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.1424, allocations: 272.2 kB / 298.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1425, allocations: 126 kB / 298.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1425, allocations: 7.844 kB / 298.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.1428, allocations: 266.6 kB / 299.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 3.306e-06/0.1428, allocations: 2.578 kB / 299.1 MB, free: 14.53 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.578049099072814]