Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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.0009391/0.0009391, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001263/0.001263, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 0.9828/0.9828, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.03731/0.03731, allocations: 8.607 MB / 268.9 MB, free: 4.762 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.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 341.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.06e-05, allocations: 2.312 kB / 341.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003736/0.003757, allocations: 2.95 MB / 344.3 MB, free: 6.207 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.006639, allocations: 2.266 MB / 346.5 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003341/0.006973, allocations: 43.56 kB / 346.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.007756, allocations: 418.1 kB / 347 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.008303, allocations: 378.1 kB / 347.4 MB, free: 3.105 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.009629, allocations: 0.8417 MB / 348.2 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000866/0.01049, allocations: 1.135 MB / 349.3 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.01071, allocations: 109.5 kB / 349.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005604/0.01127, allocations: 0.6002 MB / 350 MB, free: 412 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.01166, allocations: 418.9 kB / 350.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.251e-05/0.01174, allocations: 64 kB / 350.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.01211, allocations: 319.5 kB / 350.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.01228, allocations: 267 kB / 351.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.01244, allocations: 239.7 kB / 351.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006597/0.01309, allocations: 0.8796 MB / 352.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.0131, allocations: 4 kB / 352.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.0131, allocations: 0 / 352.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.0131, allocations: 0 / 352.2 MB, free: 14.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001236/0.01434, allocations: 1.53 MB / 353.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.01438, allocations: 12.03 kB / 353.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.01453, allocations: 160.2 kB / 353.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.01513, allocations: 0.6725 MB / 354.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.01516, allocations: 41.69 kB / 354.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.01523, allocations: 64.36 kB / 354.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.01575, allocations: 0.618 MB / 355.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01577, allocations: 7.875 kB / 355.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.0158, allocations: 24 kB / 355.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.01582, allocations: 12 kB / 355.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.01607, allocations: 270.1 kB / 355.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.01771, allocations: 2.381 MB / 358 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.01805, allocations: 354.9 kB / 358.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.01821, allocations: 196.7 kB / 358.5 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.01823, allocations: 12.5 kB / 358.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.01858, allocations: 423.4 kB / 358.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.404e-06/0.01858, allocations: 0 / 358.9 MB, free: 7.141 MB / 330.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.satin R.cs R.satDiff R.Iaction when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.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.satin R.cs R.satDiff R.Iaction equations: when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7439579931087792]