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.0008017/0.0008017, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002117, allocations: 451.9 kB / 10.44 MB, free: 252 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.0007955/0.0007955, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.001952, allocations: 475.5 kB / 11.81 MB, free: 2.359 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.986/0.986, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0895/1.075, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.02671/0.02671, allocations: 5.895 MB / 250.1 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003419/0.03012, allocations: 2.112 MB / 252.2 MB, free: 7.141 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.142e-06/1.142e-06, allocations: 0 / 253.4 MB, free: 5.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.165e-05, allocations: 2.312 kB / 253.4 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002592/0.002603, allocations: 2.685 MB / 256.1 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003729, allocations: 0.9333 MB / 257.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.003917, allocations: 35.62 kB / 257.1 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.004051, allocations: 83.08 kB / 257.2 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.00417, allocations: 67.22 kB / 257.2 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.00481, allocations: 0.5107 MB / 257.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.005359, allocations: 0.7901 MB / 258.5 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.005498, allocations: 87.05 kB / 258.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.005836, allocations: 455.1 kB / 259.1 MB, free: 196 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.006087, allocations: 259.2 kB / 259.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.006148, allocations: 56 kB / 259.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.006264, allocations: 95.95 kB / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.006361, allocations: 139.5 kB / 259.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.006476, allocations: 143.6 kB / 259.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.006832, allocations: 470 kB / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.006845, allocations: 0 / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006845, allocations: 4 kB / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.006855, allocations: 0 / 260.2 MB, free: 15.05 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.00126/0.008115, allocations: 1.073 MB / 261.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.008142, allocations: 8.031 kB / 261.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.00825, allocations: 100.9 kB / 261.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.008672, allocations: 455.1 kB / 261.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.008722, allocations: 67.58 kB / 261.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.00878, allocations: 60.38 kB / 262 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.009265, allocations: 0.5866 MB / 262.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.009281, allocations: 4.141 kB / 262.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.009313, allocations: 24.38 kB / 262.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.009327, allocations: 20.12 kB / 262.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.009571, allocations: 244.2 kB / 262.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.01095, allocations: 1.539 MB / 264.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.01133, allocations: 339.8 kB / 264.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.01149, allocations: 186.5 kB / 264.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.01152, allocations: 8 kB / 264.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.01176, allocations: 316.7 kB / 265.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.453e-06/0.01176, allocations: 0 / 265.2 MB, free: 9.828 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 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.4506077319383621]