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.001291/0.001291, allocations: 113.2 kB / 19.73 MB, free: 2.242 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.001409/0.001409, allocations: 221.2 kB / 23.04 MB, free: 5.074 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.36/1.36, allocations: 230.6 MB / 256.8 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.06165/0.06165, allocations: 11.35 MB / 324.6 MB, free: 8.262 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="cs",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.002006/0.002006, allocations: 63.91 kB / 451.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 56.07 MB / 0.496 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002935/0.1067, allocations: 1.793 MB / 0.4977 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.1077, allocations: 0.4986 MB / 0.4982 GB, free: 92 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.1078, allocations: 0 / 0.4982 GB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1079, allocations: 35.66 kB / 0.4983 GB, free: 56 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.874e-05/0.108, allocations: 35.67 kB / 0.4983 GB, free: 20 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.1087, allocations: 295.3 kB / 0.4986 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007352/0.1094, allocations: 0.6083 MB / 0.4992 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1095, allocations: 24.92 kB / 0.4992 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.1098, allocations: 191.4 kB / 0.4994 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.1101, allocations: 191.3 kB / 0.4996 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.1101, allocations: 28 kB / 0.4996 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1102, allocations: 55.97 kB / 0.4996 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.1104, allocations: 167.5 kB / 0.4998 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1106, allocations: 163 kB / 0.5 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.111, allocations: 386.6 kB / 0.5003 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.111, allocations: 4 kB / 0.5003 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.111, allocations: 0 / 0.5003 GB, free: 13.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.111, allocations: 0 / 0.5003 GB, free: 13.93 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.001219/0.1122, allocations: 0.6583 MB / 0.501 GB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1123, allocations: 8.031 kB / 0.501 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.1123, allocations: 8.844 kB / 0.501 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.1124, allocations: 58.72 kB / 0.501 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.1124, allocations: 56.58 kB / 0.5011 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1129, allocations: 306.3 kB / 0.5014 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.1129, allocations: 25.02 kB / 0.5014 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.1129, allocations: 24.38 kB / 0.5014 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.1136, allocations: 374.2 kB / 0.5018 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1136, allocations: 4 kB / 0.5018 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.1136, allocations: 11.98 kB / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1136, allocations: 8 kB / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.1141, allocations: 274.4 kB / 0.5021 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.1158, allocations: 0.9638 MB / 0.503 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.1164, allocations: 310.4 kB / 0.5033 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1166, allocations: 136.8 kB / 0.5034 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1167, allocations: 7.938 kB / 0.5035 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.1171, allocations: 255.6 kB / 0.5037 GB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.1171, allocations: 0 / 0.5037 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.504132091999054] Failed to read output from testmodel.py, exit status != 0: 0.12497504393104464 0.29894862 0.18535215200000002 Calling exit ...