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.001301/0.001301, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001693/0.001693, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.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.06538/0.06538, allocations: 11.34 MB / 324.5 MB, free: 8.258 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.91 kB / 452.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1112, allocations: 56.07 MB / 0.4964 GB, free: 1.879 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004489/0.1157, allocations: 2.741 MB / 0.4991 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1175, allocations: 0.8393 MB / 0.4999 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.1179, allocations: 27.69 kB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1182, allocations: 91 kB / 0.5001 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1185, allocations: 59.34 kB / 0.5001 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.1195, allocations: 431.2 kB / 0.5005 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1205, allocations: 0.8641 MB / 0.5014 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.1207, allocations: 97.55 kB / 0.5015 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.1211, allocations: 311 kB / 0.5018 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.1215, allocations: 302.6 kB / 0.502 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.1216, allocations: 48 kB / 0.5021 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1218, allocations: 91.95 kB / 0.5022 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.122, allocations: 171.4 kB / 0.5023 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.1223, allocations: 298.2 kB / 0.5026 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.123, allocations: 0.6222 MB / 0.5032 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.123, allocations: 0 / 0.5032 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.123, allocations: 0 / 0.5032 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.123, allocations: 0 / 0.5032 GB, free: 10.89 MB / 382.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.001738/0.1247, allocations: 0.9656 MB / 0.5042 GB, free: 9.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1248, allocations: 12.03 kB / 0.5042 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1249, allocations: 92.34 kB / 0.5043 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.1257, allocations: 446.6 kB / 0.5047 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.606e-05/0.1258, allocations: 71.25 kB / 0.5048 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.1258, allocations: 56.38 kB / 0.5048 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.127, allocations: 0.6618 MB / 0.5055 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.127, allocations: 7.891 kB / 0.5055 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.1271, allocations: 28 kB / 0.5055 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1271, allocations: 12 kB / 0.5055 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.128, allocations: 463.6 kB / 0.506 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.1311, allocations: 2.084 MB / 0.508 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.1319, allocations: 318.9 kB / 0.5083 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.1323, allocations: 193.6 kB / 0.5085 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1323, allocations: 15.92 kB / 0.5085 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005722/0.1329, allocations: 324.2 kB / 0.5088 GB, free: 4.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.384e-06/0.1329, allocations: 0 / 0.5088 GB, free: 4.961 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7444605010095984] Failed to read output from testmodel.py, exit status != 0: 0.14267413108609617 0.32467385200000004 0.198719587 Calling exit ...