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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06174/0.06174, allocations: 11.34 MB / 314.7 MB, free: 0.8516 MB / 238.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001928/0.001928, allocations: 67.91 kB / 438.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2556, allocations: 54.82 MB / 493.3 MB, free: 24.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003924/0.2595, allocations: 3.104 MB / 496.4 MB, free: 21.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.2633, allocations: 2.206 MB / 498.6 MB, free: 20.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005469/0.2638, allocations: 34.5 kB / 498.7 MB, free: 20.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.2649, allocations: 404.1 kB / 499.1 MB, free: 20.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007552/0.2656, allocations: 319.8 kB / 499.4 MB, free: 20.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.2677, allocations: 0.8352 MB / 0.4885 GB, free: 19.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.2691, allocations: 1.181 MB / 0.4897 GB, free: 18.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.2693, allocations: 104.1 kB / 0.4898 GB, free: 18.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.2699, allocations: 481.6 kB / 0.4902 GB, free: 18.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.2704, allocations: 0.5067 MB / 0.4907 GB, free: 18.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.2706, allocations: 62.12 kB / 0.4908 GB, free: 18.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.2712, allocations: 320.6 kB / 0.4911 GB, free: 17.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.2714, allocations: 264.8 kB / 0.4913 GB, free: 17.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.2717, allocations: 402.7 kB / 0.4917 GB, free: 17.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.2729, allocations: 1.042 MB / 0.4927 GB, free: 16.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2729, allocations: 1.125 kB / 0.4927 GB, free: 16.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2729, allocations: 0 / 0.4927 GB, free: 16.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.2729, allocations: 4 kB / 0.4927 GB, free: 16.71 MB / 366.1 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.002199/0.2751, allocations: 1.51 MB / 0.4942 GB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2751, allocations: 13.17 kB / 0.4942 GB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.2753, allocations: 111.7 kB / 0.4943 GB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009604/0.2763, allocations: 0.7211 MB / 0.495 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.2763, allocations: 55.23 kB / 0.4951 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.2764, allocations: 66.98 kB / 0.4951 GB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.2776, allocations: 0.7653 MB / 0.4959 GB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.2776, allocations: 6.141 kB / 0.4959 GB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.2777, allocations: 27.86 kB / 0.4959 GB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.2777, allocations: 13.31 kB / 0.4959 GB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/0.2786, allocations: 476.2 kB / 0.4964 GB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.2815, allocations: 2.408 MB / 0.4987 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.2823, allocations: 0.5259 MB / 0.4993 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.2827, allocations: 262.5 kB / 0.4995 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.2827, allocations: 14.95 kB / 0.4995 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/0.2835, allocations: 0.4973 MB / 0.5 GB, free: 11.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.855e-06/0.2835, allocations: 0 / 0.5 GB, free: 11.29 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5576204881072044] Failed to read output from testmodel.py, exit status != 0: 0.2928316299803555 0.30144222600000004 0.026337984000000002 Calling exit ...