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.001305/0.001305, allocations: 100.4 kB / 19.7 MB, free: 2.141 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.001628/0.001628, allocations: 219.4 kB / 22.99 MB, free: 4.961 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06565/0.06565, allocations: 11.35 MB / 324.5 MB, free: 8.051 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: translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") [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.002173/0.002173, allocations: 75.89 kB / 452.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1105, allocations: 56.06 MB / 0.4964 GB, free: 1.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003102/0.1136, allocations: 1.73 MB / 0.4981 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1146, allocations: 486.7 kB / 0.4985 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.1147, allocations: 7.938 kB / 0.4985 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1149, allocations: 39.59 kB / 0.4986 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.1149, allocations: 27.73 kB / 0.4986 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.1157, allocations: 279.4 kB / 0.4989 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007448/0.1164, allocations: 0.6043 MB / 0.4994 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1166, allocations: 20.94 kB / 0.4995 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.1168, allocations: 191.4 kB / 0.4996 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.1171, allocations: 191.3 kB / 0.4998 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.1172, allocations: 28 kB / 0.4999 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1173, allocations: 51.98 kB / 0.4999 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.1175, allocations: 167.5 kB / 0.5001 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1176, allocations: 127.2 kB / 0.5002 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.1181, allocations: 386.4 kB / 0.5006 GB, free: 13.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1181, allocations: 3.938 kB / 0.5006 GB, free: 13.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1181, allocations: 4 kB / 0.5006 GB, free: 13.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1181, allocations: 0 / 0.5006 GB, free: 13.36 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.001283/0.1194, allocations: 0.6566 MB / 0.5012 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1194, allocations: 12.03 kB / 0.5012 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.1195, allocations: 44.66 kB / 0.5013 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.12, allocations: 310.3 kB / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.1201, allocations: 21.03 kB / 0.5016 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.1201, allocations: 28.36 kB / 0.5016 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.1208, allocations: 370.4 kB / 0.502 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1208, allocations: 4.188 kB / 0.502 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.1209, allocations: 11.94 kB / 0.502 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1209, allocations: 8 kB / 0.502 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.1214, allocations: 278.4 kB / 0.5022 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.1232, allocations: 0.828 MB / 0.5031 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.1238, allocations: 306.4 kB / 0.5033 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.1241, allocations: 144.8 kB / 0.5035 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1241, allocations: 4 kB / 0.5035 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.1245, allocations: 247.2 kB / 0.5037 GB, free: 10.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.1245, allocations: 4 kB / 0.5037 GB, free: 10.01 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.6737438179552555] Failed to read output from testmodel.py, exit status != 0: 0.13372773211449385 0.31990109099999997 0.19922769 Calling exit ...