Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction.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.001425/0.001425, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001563/0.001563, allocations: 214.6 kB / 22.25 MB, free: 5.262 MB / 14.72 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.611/1.611, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.06928/0.06928, allocations: 11.35 MB / 323.8 MB, free: 8.004 MB / 254.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/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.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003434/0.003434, allocations: 67.84 kB / 451.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1469, allocations: 56.07 MB / 0.4956 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.00387/0.1508, allocations: 1.724 MB / 0.4973 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1522, allocations: 490.7 kB / 0.4978 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.1525, allocations: 3.938 kB / 0.4978 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.1529, allocations: 43.66 kB / 0.4978 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.1531, allocations: 27.73 kB / 0.4979 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1543, allocations: 275.4 kB / 0.4981 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.1555, allocations: 0.5966 MB / 0.4987 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.1557, allocations: 24.88 kB / 0.4987 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.1561, allocations: 195.5 kB / 0.4989 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.1566, allocations: 195.2 kB / 0.4991 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1567, allocations: 28 kB / 0.4991 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1569, allocations: 51.97 kB / 0.4992 GB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.1571, allocations: 163.5 kB / 0.4993 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.1573, allocations: 131.2 kB / 0.4995 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.1579, allocations: 386.4 kB / 0.4998 GB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1579, allocations: 0 / 0.4998 GB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1579, allocations: 0 / 0.4998 GB, free: 13.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.1579, allocations: 0 / 0.4998 GB, free: 13.33 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001701/0.1596, allocations: 0.6545 MB / 0.5005 GB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1597, allocations: 11.97 kB / 0.5005 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1598, allocations: 44.66 kB / 0.5005 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.1604, allocations: 314.3 kB / 0.5008 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.1604, allocations: 25.02 kB / 0.5008 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.1605, allocations: 24.38 kB / 0.5009 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/0.1612, allocations: 370.4 kB / 0.5012 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.1612, allocations: 4.125 kB / 0.5012 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.1612, allocations: 15.94 kB / 0.5012 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1612, allocations: 8 kB / 0.5012 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.1618, allocations: 270.4 kB / 0.5015 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1637, allocations: 0.8319 MB / 0.5023 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.1643, allocations: 300.4 kB / 0.5026 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.1646, allocations: 140.8 kB / 0.5027 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1646, allocations: 11.88 kB / 0.5027 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004416/0.165, allocations: 255.1 kB / 0.503 GB, free: 9.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.165, allocations: 0 / 0.503 GB, free: 9.969 MB / 382.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.) tf_TU.Y[3] tf_TU.Y[2] tf_TU.w tf_TU.Y[1] when $whenCondition1 then tf_TU.w := tf_TU.num[1] * tf_TU.U[1] + tf_TU.num[2] * tf_TU.U[2] + (-tf_TU.b[1]) * tf_TU.Y[1] - tf_TU.b[3] * tf_TU.Y[3]; end when; when $whenCondition1 then tf_TU.Y[1] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fDerivator(1.0, tf_TU.w, pre(tf_TU.w), pre(tf_TU.Y[1]), tf_TU.Ts, 1.0); end when; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; end when; when $whenCondition1 then tf_TU.Y[3] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(0.5, tf_TU.Y[2], pre(tf_TU.Y[2]), pre(tf_TU.Y[3]), tf_TU.Ts, 1.0); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: tf_TU.Y[3] tf_TU.Y[2] tf_TU.w tf_TU.Y[1] equations: when $whenCondition1 then tf_TU.w := tf_TU.num[1] * tf_TU.U[1] + tf_TU.num[2] * tf_TU.U[2] + (-tf_TU.b[1]) * tf_TU.Y[1] - tf_TU.b[3] * tf_TU.Y[3]; end when; when $whenCondition1 then tf_TU.Y[1] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fDerivator(1.0, tf_TU.w, pre(tf_TU.w), pre(tf_TU.Y[1]), tf_TU.Ts, 1.0); end when; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; end when; when $whenCondition1 then tf_TU.Y[3] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(0.5, tf_TU.Y[2], pre(tf_TU.Y[2]), pre(tf_TU.Y[3]), tf_TU.Ts, 1.0); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1083365567028522] Failed to read output from testmodel.py, exit status != 0: 0.1777364294975996 0.422981853 0.26194266 Calling exit ...