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.001697/0.001697, allocations: 81.23 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002134/0.002134, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.06344/0.06344, allocations: 8.602 MB / 267.8 MB, free: 8.57 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/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.502e-06/1.502e-06, allocations: 0 / 395.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.361e-05, allocations: 2.281 kB / 395.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004372/0.004406, allocations: 2.541 MB / 398.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.006343, allocations: 0.8158 MB / 398.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.006602, allocations: 31.69 kB / 398.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.006902, allocations: 83.06 kB / 399 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.007168, allocations: 67.28 kB / 399.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.008187, allocations: 467 kB / 399.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009173/0.009104, allocations: 0.7393 MB / 400.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.009341, allocations: 87.02 kB / 400.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.00985, allocations: 383.1 kB / 400.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.01026, allocations: 231.3 kB / 401 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.01036, allocations: 48 kB / 401 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.01056, allocations: 91.95 kB / 401.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.01079, allocations: 175.3 kB / 401.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.01104, allocations: 179.5 kB / 401.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008972/0.01193, allocations: 0.6501 MB / 402.1 MB, free: 112 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.01194, allocations: 4 kB / 402.1 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01194, allocations: 0 / 402.1 MB, free: 108 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.01195, allocations: 0 / 402.1 MB, free: 108 kB / 318.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.002019/0.01397, allocations: 0.9684 MB / 403.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.01401, allocations: 8.031 kB / 403.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.01418, allocations: 80.47 kB / 403.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008311/0.01501, allocations: 449.9 kB / 403.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.96e-05/0.01511, allocations: 67.27 kB / 403.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.01524, allocations: 68.31 kB / 403.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.01654, allocations: 0.6987 MB / 404.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.01657, allocations: 4.188 kB / 404.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.01663, allocations: 28.36 kB / 404.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.01665, allocations: 16.12 kB / 404.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.01769, allocations: 0.4895 MB / 405 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.02091, allocations: 1.893 MB / 406.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/0.02182, allocations: 359.6 kB / 407.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.02227, allocations: 235.4 kB / 407.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.0223, allocations: 4 kB / 407.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007593/0.02306, allocations: 365.5 kB / 407.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.02306, allocations: 0 / 407.8 MB, free: 10.16 MB / 334.1 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4838799349963665] Failed to read output from testmodel.py, exit status != 0: 0.03339109197258949 0.049140239 0.033986807 Calling exit ...