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.0009505/0.0009505, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002271, allocations: 440 kB / 10.41 MB, free: 284 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.001028/0.001028, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002393, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9453/0.9453, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08946/1.035, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.02752/0.02752, allocations: 5.884 MB / 250 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004325/0.03184, allocations: 2.117 MB / 252.1 MB, free: 7.156 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.133e-06/1.133e-06, allocations: 0 / 253.4 MB, free: 5.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.451e-05, allocations: 2.312 kB / 253.4 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002628/0.002643, allocations: 2.689 MB / 256.1 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003846, allocations: 0.9248 MB / 257.1 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.004034, allocations: 35.62 kB / 257.1 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.004196, allocations: 95 kB / 257.2 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.004323, allocations: 63.28 kB / 257.2 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.004959, allocations: 0.499 MB / 257.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.005536, allocations: 0.794 MB / 258.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.00568, allocations: 91.05 kB / 258.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.006057, allocations: 447.1 kB / 259.1 MB, free: 212 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.006369, allocations: 247.2 kB / 259.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.00644, allocations: 59.94 kB / 259.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.006578, allocations: 99.94 kB / 259.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.006689, allocations: 135.5 kB / 259.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.006815, allocations: 143.6 kB / 259.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.007239, allocations: 466.1 kB / 260.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.00725, allocations: 0 / 260.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00725, allocations: 4 kB / 260.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.007262, allocations: 0 / 260.2 MB, free: 15.07 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.001229/0.00849, allocations: 1.077 MB / 261.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.00853, allocations: 8.031 kB / 261.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.008651, allocations: 104.8 kB / 261.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.009127, allocations: 439.2 kB / 261.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.009183, allocations: 71.56 kB / 261.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.009253, allocations: 68.36 kB / 261.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.009753, allocations: 0.5749 MB / 262.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.009773, allocations: 16.11 kB / 262.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.009807, allocations: 24.38 kB / 262.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.009819, allocations: 16.12 kB / 262.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.01007, allocations: 252.2 kB / 262.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.01145, allocations: 1.535 MB / 264.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.01185, allocations: 342.6 kB / 264.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.01201, allocations: 178.6 kB / 264.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01203, allocations: 4 kB / 264.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.0123, allocations: 324.6 kB / 265.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.523e-06/0.0123, allocations: 0 / 265.2 MB, free: 9.852 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.4469819841906428]