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.0006835/0.0006835, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009094/0.001593, allocations: 451.9 kB / 10.44 MB, free: 252 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.0006861/0.0006861, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008947/0.001581, allocations: 475.5 kB / 11.81 MB, free: 2.359 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.009/1.009, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0767/1.086, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.02722/0.02722, allocations: 5.891 MB / 250 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002924/0.03014, allocations: 2.117 MB / 252.2 MB, free: 7.141 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 1.092e-06/1.092e-06, allocations: 0 / 253.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.664e-06/8.756e-06, allocations: 9.828 kB / 253.5 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00238/0.002388, allocations: 2.689 MB / 256.1 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003478, allocations: 0.9216 MB / 257.1 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.003651, allocations: 35.62 kB / 257.1 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.0038, allocations: 98.98 kB / 257.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.003923, allocations: 59.3 kB / 257.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.004511, allocations: 0.5107 MB / 257.8 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.005043, allocations: 0.794 MB / 258.6 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.005175, allocations: 91.03 kB / 258.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.005518, allocations: 443.1 kB / 259.1 MB, free: 188 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.005777, allocations: 263.2 kB / 259.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.005838, allocations: 56 kB / 259.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.005955, allocations: 91.97 kB / 259.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.00606, allocations: 135.5 kB / 259.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.006183, allocations: 151.5 kB / 259.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.006567, allocations: 470 kB / 260.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.006579, allocations: 4 kB / 260.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.006579, allocations: 0 / 260.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.006589, allocations: 0 / 260.2 MB, free: 15.04 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.001063/0.007651, allocations: 1.069 MB / 261.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.00768, allocations: 8.031 kB / 261.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.007789, allocations: 108.8 kB / 261.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.008212, allocations: 439.2 kB / 261.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.008265, allocations: 67.58 kB / 261.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.008336, allocations: 68.36 kB / 262 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.008829, allocations: 0.5827 MB / 262.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.008845, allocations: 4.141 kB / 262.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.00888, allocations: 28.38 kB / 262.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.008894, allocations: 28.09 kB / 262.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.009138, allocations: 240.2 kB / 262.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.01053, allocations: 1.543 MB / 264.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.01091, allocations: 335.7 kB / 264.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.01107, allocations: 179.5 kB / 264.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.0111, allocations: 12 kB / 264.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.01136, allocations: 312.7 kB / 265.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.804e-06/0.01136, allocations: 0 / 265.2 MB, free: 9.82 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.4450828284025192]