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.001014/0.001014, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002395, allocations: 439.8 kB / 10.34 MB, free: 360 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.000715/0.000715, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009617/0.001677, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.069/1.069, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09856/1.167, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.07704/0.07704, allocations: 9.787 MB / 253.7 MB, free: 5.617 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006992/0.08403, allocations: 3.476 MB / 257.2 MB, free: 2.129 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.385e-06/2.385e-06, allocations: 0 / 258.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.436e-05, allocations: 5.688 kB / 258.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003585/0.00361, allocations: 2.65 MB / 261.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.005248, allocations: 0.913 MB / 262.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.005489, allocations: 31.62 kB / 262.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.005667, allocations: 91.05 kB / 262.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.005835, allocations: 63.3 kB / 262.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.006771, allocations: 0.495 MB / 262.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008644/0.007636, allocations: 0.7824 MB / 263.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.007813, allocations: 91.03 kB / 263.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.008344, allocations: 431.1 kB / 264 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.008718, allocations: 247.2 kB / 264.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.00882, allocations: 52 kB / 264.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.009018, allocations: 95.95 kB / 264.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.009183, allocations: 135.5 kB / 264.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.009382, allocations: 151.6 kB / 264.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.009991, allocations: 458.1 kB / 265.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.01001, allocations: 0 / 265.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01001, allocations: 0 / 265.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.374e-05/0.01003, allocations: 0 / 265.1 MB, free: 10.17 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001535/0.01157, allocations: 1.058 MB / 266.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.0116, allocations: 8.031 kB / 266.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.01176, allocations: 96.86 kB / 266.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.01242, allocations: 439.2 kB / 266.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.01249, allocations: 67.27 kB / 266.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/0.01259, allocations: 60.33 kB / 266.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.01336, allocations: 0.5692 MB / 267.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.01339, allocations: 8.109 kB / 267.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.01344, allocations: 24.38 kB / 267.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.01345, allocations: 16.12 kB / 267.5 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.01385, allocations: 235.4 kB / 267.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.01603, allocations: 1.523 MB / 269.2 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.01664, allocations: 323.4 kB / 269.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.01689, allocations: 166.4 kB / 269.7 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.01693, allocations: 8 kB / 269.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.01732, allocations: 316.3 kB / 270 MB, free: 5.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.134e-06/0.01732, allocations: 0 / 270 MB, free: 5.062 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:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6161420457065105]