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.001382/0.001382, 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.001709/0.001709, allocations: 216.5 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.027 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.0646/0.0646, allocations: 11.34 MB / 323.8 MB, free: 8.258 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.002844/0.002844, allocations: 63.91 kB / 451 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1154, allocations: 56.07 MB / 0.4952 GB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002946/0.1183, allocations: 1.793 MB / 0.497 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1193, allocations: 0.4987 MB / 0.4975 GB, free: 76 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1194, allocations: 3.938 kB / 0.4975 GB, free: 72 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1196, allocations: 35.66 kB / 0.4975 GB, free: 36 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.1197, allocations: 31.67 kB / 0.4975 GB, free: 4 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.1204, allocations: 295.4 kB / 0.4978 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.1212, allocations: 0.6121 MB / 0.4984 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1213, allocations: 20.92 kB / 0.4984 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1216, allocations: 195.4 kB / 0.4986 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.1219, allocations: 195.3 kB / 0.4988 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.1219, allocations: 28 kB / 0.4988 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.122, allocations: 51.97 kB / 0.4989 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1222, allocations: 171.5 kB / 0.499 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.1224, allocations: 159 kB / 0.4992 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.1228, allocations: 386.7 kB / 0.4996 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1228, allocations: 3.938 kB / 0.4996 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1228, allocations: 0 / 0.4996 GB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1229, allocations: 3.938 kB / 0.4996 GB, free: 13.91 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.001216/0.1241, allocations: 0.6545 MB / 0.5002 GB, free: 13.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1241, allocations: 11.97 kB / 0.5002 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.915e-05/0.1242, allocations: 66.72 kB / 0.5003 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.1243, allocations: 48.64 kB / 0.5003 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.1248, allocations: 302.3 kB / 0.5006 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.1248, allocations: 25.02 kB / 0.5006 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1248, allocations: 24.38 kB / 0.5007 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.1255, allocations: 374.4 kB / 0.501 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1255, allocations: 3.938 kB / 0.501 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.1255, allocations: 15.98 kB / 0.501 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1255, allocations: 4 kB / 0.501 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.126, allocations: 270.4 kB / 0.5013 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.1279, allocations: 0.9638 MB / 0.5022 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.1285, allocations: 306.4 kB / 0.5025 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.1287, allocations: 140.8 kB / 0.5027 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1287, allocations: 4 kB / 0.5027 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004074/0.1291, allocations: 255.7 kB / 0.5029 GB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.1291, allocations: 0 / 0.5029 GB, free: 10.34 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.859683897004288] Failed to read output from testmodel.py, exit status != 0: 0.13937244199769339 0.390737987 0.26401312800000004 Calling exit ...