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.001339/0.001339, 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.001427/0.001427, allocations: 210.5 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.773 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.06275/0.06275, allocations: 11.34 MB / 323.8 MB, free: 8 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.001985/0.001985, allocations: 63.91 kB / 451 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1069, allocations: 56.08 MB / 0.4952 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003325/0.1102, allocations: 1.715 MB / 0.4968 GB, free: 412 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1112, allocations: 482.8 kB / 0.4973 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1113, allocations: 7.938 kB / 0.4973 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1115, allocations: 39.64 kB / 0.4973 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1116, allocations: 31.67 kB / 0.4974 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.1124, allocations: 275.4 kB / 0.4976 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008043/0.1132, allocations: 0.6004 MB / 0.4982 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1133, allocations: 20.92 kB / 0.4982 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1136, allocations: 191.4 kB / 0.4984 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.1139, allocations: 199.3 kB / 0.4986 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.181e-05/0.114, allocations: 24 kB / 0.4986 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1141, allocations: 51.98 kB / 0.4987 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1143, allocations: 167.4 kB / 0.4988 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1144, allocations: 135.2 kB / 0.499 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.1148, allocations: 386.7 kB / 0.4993 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1148, allocations: 0 / 0.4993 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1148, allocations: 0 / 0.4993 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1149, allocations: 0 / 0.4993 GB, free: 13.82 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.001302/0.1162, allocations: 0.6582 MB / 0.5 GB, free: 13.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1162, allocations: 12.03 kB / 0.5 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.338e-05/0.1163, allocations: 62.72 kB / 0.5001 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.1164, allocations: 48.66 kB / 0.5001 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.117, allocations: 302.4 kB / 0.5004 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.117, allocations: 21.03 kB / 0.5004 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.1171, allocations: 28.36 kB / 0.5004 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.1177, allocations: 370.4 kB / 0.5008 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1178, allocations: 11.94 kB / 0.5008 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.1178, allocations: 8 kB / 0.5008 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1178, allocations: 11.94 kB / 0.5008 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.1183, allocations: 274.4 kB / 0.5011 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.1201, allocations: 0.8937 MB / 0.502 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.1208, allocations: 310.6 kB / 0.5023 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.121, allocations: 144.8 kB / 0.5024 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.121, allocations: 4 kB / 0.5024 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.1214, allocations: 251.1 kB / 0.5026 GB, free: 10.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.1214, allocations: 0 / 0.5026 GB, free: 10.31 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.615049723070115] Failed to read output from testmodel.py, exit status != 0: 0.12946506403386593 0.315509596 0.198272729 Calling exit ...