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.001916/0.001916, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002296/0.002296, allocations: 216.9 kB / 22.25 MB, free: 5.078 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 8.023 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.06511/0.06511, allocations: 11.34 MB / 323.8 MB, free: 8.238 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: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me",version="2.0",platforms={"static"}) [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.002003/0.002003, allocations: 67.89 kB / 451 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.126, allocations: 56.07 MB / 0.4952 GB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003221/0.1292, allocations: 1.8 MB / 0.497 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1302, allocations: 498.7 kB / 0.4975 GB, free: 28 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.1303, allocations: 4 kB / 0.4975 GB, free: 24 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.1305, allocations: 39.75 kB / 0.4975 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.1306, allocations: 35.67 kB / 0.4975 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.1314, allocations: 287.4 kB / 0.4978 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.1322, allocations: 0.6081 MB / 0.4984 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1323, allocations: 28.92 kB / 0.4984 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.1326, allocations: 187.4 kB / 0.4986 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.1329, allocations: 203.2 kB / 0.4988 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.133, allocations: 28 kB / 0.4988 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1331, allocations: 51.98 kB / 0.4989 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.1333, allocations: 167.5 kB / 0.499 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1334, allocations: 162.9 kB / 0.4992 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.1339, allocations: 394.6 kB / 0.4996 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1339, allocations: 0 / 0.4996 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1339, allocations: 4 kB / 0.4996 GB, free: 13.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1339, allocations: 0 / 0.4996 GB, free: 13.85 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.001328/0.1352, allocations: 0.6487 MB / 0.5002 GB, free: 13.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1352, allocations: 11.97 kB / 0.5002 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.852e-05/0.1353, allocations: 66.72 kB / 0.5003 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.1354, allocations: 48.66 kB / 0.5003 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.1359, allocations: 306.3 kB / 0.5006 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1359, allocations: 21.03 kB / 0.5006 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.136, allocations: 32.34 kB / 0.5007 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.1366, allocations: 374.4 kB / 0.501 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1367, allocations: 3.938 kB / 0.501 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.1367, allocations: 12 kB / 0.501 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.1367, allocations: 8 kB / 0.501 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.1372, allocations: 274.4 kB / 0.5013 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.1391, allocations: 0.9639 MB / 0.5023 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.1397, allocations: 298.5 kB / 0.5025 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.1399, allocations: 144.8 kB / 0.5027 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.14, allocations: 0 / 0.5027 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.1404, allocations: 260 kB / 0.5029 GB, free: 10.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.1404, allocations: 0 / 0.5029 GB, free: 10.28 MB / 382.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.702910790918395] Failed to read output from testmodel.py, exit status != 0: 0.14903272688388824 0.34709705100000005 0.210784256 Calling exit ...