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.001298/0.001298, 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.001402/0.001402, allocations: 206.8 kB / 22.24 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.797 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.0623/0.0623, allocations: 11.35 MB / 323.8 MB, free: 8.027 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.001988/0.001988, allocations: 67.89 kB / 451 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1127, allocations: 56.07 MB / 0.4952 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003211/0.1159, allocations: 1.715 MB / 0.4968 GB, free: 440 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.117, allocations: 482.7 kB / 0.4973 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.1171, allocations: 7.938 kB / 0.4973 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.1172, allocations: 43.58 kB / 0.4973 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.67e-05/0.1173, allocations: 31.73 kB / 0.4974 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.1181, allocations: 279.4 kB / 0.4976 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007322/0.1188, allocations: 0.5965 MB / 0.4982 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.119, allocations: 24.92 kB / 0.4982 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.1192, allocations: 187.4 kB / 0.4984 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.1195, allocations: 191.3 kB / 0.4986 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.1196, allocations: 28 kB / 0.4986 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1197, allocations: 51.97 kB / 0.4987 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.1199, allocations: 167.5 kB / 0.4988 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.12, allocations: 127.2 kB / 0.499 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.1205, allocations: 390.6 kB / 0.4993 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1205, allocations: 3.984 kB / 0.4993 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1205, allocations: 0 / 0.4993 GB, free: 13.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1205, allocations: 4 kB / 0.4993 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.001343/0.1219, allocations: 0.6582 MB / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1219, allocations: 8.031 kB / 0.5 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.464e-05/0.122, allocations: 66.72 kB / 0.5001 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.027e-05/0.1221, allocations: 48.59 kB / 0.5001 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.1226, allocations: 306.4 kB / 0.5004 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1226, allocations: 17.03 kB / 0.5004 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.1227, allocations: 28.36 kB / 0.5004 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.1233, allocations: 370.4 kB / 0.5008 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1233, allocations: 7.938 kB / 0.5008 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.1234, allocations: 19.92 kB / 0.5008 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.1234, allocations: 8 kB / 0.5008 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.1239, allocations: 274.4 kB / 0.5011 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1257, allocations: 0.8976 MB / 0.502 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.1263, allocations: 302.8 kB / 0.5022 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.1266, allocations: 144.8 kB / 0.5024 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1266, allocations: 4 kB / 0.5024 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.127, allocations: 255.1 kB / 0.5026 GB, free: 10.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.127, allocations: 0 / 0.5026 GB, free: 10.33 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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5790667980909348] Failed to read output from testmodel.py, exit status != 0: 0.1348330699838698 0.33097300299999993 0.20632720300000001 Calling exit ...