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.0008448/0.0008448, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001304/0.001304, allocations: 169 kB / 23.03 MB, free: 1.543 MB / 18.57 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.025/1.025, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.03626/0.03626, allocations: 8.617 MB / 268.6 MB, free: 4.918 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 4 kB / 340.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.107e-05, allocations: 6.25 kB / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002486/0.002507, allocations: 2.627 MB / 343.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.00378, allocations: 0.8083 MB / 344.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.004, allocations: 35.62 kB / 344.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.004213, allocations: 91 kB / 344.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.004418, allocations: 59.3 kB / 344.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.005141, allocations: 467 kB / 344.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.00567, allocations: 0.7432 MB / 345.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.005864, allocations: 79.08 kB / 345.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.006178, allocations: 383.1 kB / 346.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.006461, allocations: 235.2 kB / 346.4 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.006524, allocations: 48 kB / 346.4 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.006639, allocations: 91.91 kB / 346.5 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.006742, allocations: 167.4 kB / 346.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.006858, allocations: 195.4 kB / 346.9 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.00725, allocations: 0.4902 MB / 347.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.007252, allocations: 0 / 347.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.007253, allocations: 0 / 347.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.007261, allocations: 0 / 347.3 MB, free: 1.891 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0009237/0.008185, allocations: 1.058 MB / 348.4 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.008218, allocations: 11.97 kB / 348.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.008342, allocations: 124.4 kB / 348.5 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.008735, allocations: 480.6 kB / 349 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.00879, allocations: 67.27 kB / 349.1 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.008849, allocations: 60.33 kB / 349.1 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.009581, allocations: 0.5966 MB / 349.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.009604, allocations: 192 / 349.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.009661, allocations: 28.36 kB / 349.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.009686, allocations: 20.11 kB / 349.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.01012, allocations: 291.4 kB / 350.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.0119, allocations: 2.158 MB / 352.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.01232, allocations: 261.3 kB / 352.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.01248, allocations: 158.3 kB / 352.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.0125, allocations: 15.94 kB / 352.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/0.01278, allocations: 287.3 kB / 352.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 1.844e-06/0.01278, allocations: 0 / 352.9 MB, free: 12.03 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7856103158555925]