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.001044/0.001044, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002367, allocations: 455.9 kB / 10.43 MB, free: 260 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.0009772/0.0009772, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002261, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.082/1.082, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.186, 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.03383/0.03383, allocations: 5.893 MB / 250 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004015/0.03785, allocations: 2.117 MB / 252.2 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 2.094e-06/2.094e-06, allocations: 3.984 kB / 253.5 MB, free: 5.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.224e-05, allocations: 2.312 kB / 253.5 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002857/0.002869, allocations: 2.677 MB / 256.1 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.004865, allocations: 0.9333 MB / 257.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.005127, allocations: 31.62 kB / 257.1 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.005312, allocations: 94.94 kB / 257.2 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.005474, allocations: 59.36 kB / 257.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008751/0.006349, allocations: 0.5145 MB / 257.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007285/0.007077, allocations: 0.7979 MB / 258.6 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.007241, allocations: 87.05 kB / 258.6 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.00771, allocations: 443.1 kB / 259.1 MB, free: 204 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007121/0.008422, allocations: 259.2 kB / 259.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-05/0.008514, allocations: 56 kB / 259.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.008697, allocations: 104 kB / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.008837, allocations: 139.4 kB / 259.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.008995, allocations: 143.6 kB / 259.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.009508, allocations: 466.1 kB / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.009523, allocations: 0 / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.009524, allocations: 0 / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.009537, 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.001392/0.01093, allocations: 1.073 MB / 261.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.01096, allocations: 12.03 kB / 261.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.0111, allocations: 108.8 kB / 261.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.01165, allocations: 431.2 kB / 261.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.01171, allocations: 75.56 kB / 261.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/0.01179, allocations: 68.36 kB / 262 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.01243, allocations: 0.5749 MB / 262.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.01245, allocations: 16.11 kB / 262.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.01249, allocations: 28.38 kB / 262.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.01251, allocations: 16.12 kB / 262.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.01283, allocations: 244.2 kB / 262.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.01488, allocations: 1.539 MB / 264.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.01536, allocations: 335.7 kB / 264.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.01558, allocations: 179.5 kB / 264.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.01561, allocations: 8 kB / 264.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.01593, allocations: 312.7 kB / 265.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.984e-06/0.01593, allocations: 0 / 265.2 MB, free: 9.844 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:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5606433302164078]