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.0008361/0.0008361, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001856, 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.0006759/0.0006759, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001678, 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 1.031/1.031, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09129/1.122, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.03804/0.03804, allocations: 8.605 MB / 252.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007575/0.04562, allocations: 3.137 MB / 255.9 MB, free: 3.48 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.543e-06/1.543e-06, allocations: 3.938 kB / 257.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.717e-05, allocations: 2.312 kB / 257.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00441/0.004438, allocations: 2.646 MB / 259.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.006353, allocations: 0.8584 MB / 260.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003517/0.006705, allocations: 31.69 kB / 260.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.00695, allocations: 98.98 kB / 260.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.007166, allocations: 55.3 kB / 260.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.008292, allocations: 455 kB / 261.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009722/0.009264, allocations: 0.7238 MB / 262 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.009484, allocations: 90.98 kB / 262.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.01007, allocations: 403.2 kB / 262.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.01048, allocations: 231.2 kB / 262.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.0106, allocations: 52 kB / 262.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.0108, allocations: 91.95 kB / 262.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.01096, allocations: 135.5 kB / 263 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.01113, allocations: 139.6 kB / 263.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006817/0.01182, allocations: 446.2 kB / 263.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.798e-05/0.01183, allocations: 4 kB / 263.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.01184, allocations: 0 / 263.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.01186, allocations: 0 / 263.6 MB, free: 11.74 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.001635/0.01349, allocations: 1.022 MB / 264.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01353, allocations: 12.03 kB / 264.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.01371, allocations: 96.86 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.01439, allocations: 439.1 kB / 265.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.01447, allocations: 67.27 kB / 265.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.01457, allocations: 64.31 kB / 265.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.01535, allocations: 0.5536 MB / 265.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.01537, allocations: 8.172 kB / 265.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.01542, allocations: 24.38 kB / 265.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.01544, allocations: 16.12 kB / 265.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.01582, allocations: 235.3 kB / 266.1 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.01796, allocations: 1.514 MB / 267.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.01848, allocations: 294.4 kB / 267.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.0186, allocations: 147.3 kB / 268.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.01863, allocations: 4.312 kB / 268.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.0189, allocations: 304 kB / 268.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.01891, allocations: 0 / 268.4 MB, free: 6.75 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) - 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: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) - 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: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.5128739979118109]