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.002029/0.002029, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002359/0.002359, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.723/1.723, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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.05982/0.05982, allocations: 7.616 MB / 320 MB, free: 10.67 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 0.004227/0.004227, allocations: 73.62 kB / 446.5 MB, free: 40.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09581, allocations: 55.08 MB / 0.4898 GB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.005485/0.1013, allocations: 2.548 MB / 0.4923 GB, free: 14.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.104, allocations: 0.8823 MB / 0.4932 GB, free: 13.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000572/0.1046, allocations: 35.62 kB / 0.4932 GB, free: 13.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.105, allocations: 91 kB / 0.4933 GB, free: 13.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.1055, allocations: 63.33 kB / 0.4933 GB, free: 13.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1069, allocations: 491.1 kB / 0.4938 GB, free: 13.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.1082, allocations: 0.9188 MB / 0.4947 GB, free: 12.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.1085, allocations: 86.91 kB / 0.4948 GB, free: 12.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.1089, allocations: 346.8 kB / 0.4951 GB, free: 11.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/0.1094, allocations: 302.6 kB / 0.4954 GB, free: 11.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.1095, allocations: 59.94 kB / 0.4955 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.1097, allocations: 87.97 kB / 0.4956 GB, free: 11.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.11, allocations: 187.3 kB / 0.4957 GB, free: 11.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.1103, allocations: 254.5 kB / 0.496 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008841/0.1111, allocations: 0.6612 MB / 0.4966 GB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1112, allocations: 0 / 0.4966 GB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1112, allocations: 0 / 0.4966 GB, free: 10.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1112, allocations: 0 / 0.4966 GB, free: 10.2 MB / 362.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.002112/0.1133, allocations: 1.016 MB / 0.4976 GB, free: 9.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1133, allocations: 8.031 kB / 0.4976 GB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.1135, allocations: 84.47 kB / 0.4977 GB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.1144, allocations: 458.6 kB / 0.4981 GB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.1145, allocations: 67.58 kB / 0.4982 GB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.1146, allocations: 68.36 kB / 0.4983 GB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.116, allocations: 0.7356 MB / 0.499 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.1161, allocations: 15.86 kB / 0.499 GB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.1161, allocations: 24 kB / 0.499 GB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.1162, allocations: 12 kB / 0.499 GB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.1175, allocations: 0.5094 MB / 0.4995 GB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.121, allocations: 1.934 MB / 0.5014 GB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.122, allocations: 401.3 kB / 0.5018 GB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.1226, allocations: 276.7 kB / 0.5021 GB, free: 4.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.1226, allocations: 15.92 kB / 0.5021 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007231/0.1233, allocations: 381.9 kB / 0.5024 GB, free: 3.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 2.454e-06/0.1234, allocations: 0 / 0.5024 GB, free: 3.988 MB / 362.7 MB [/var/lib/jenkins/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_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: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_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:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9727179200854152]