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.001557/0.001557, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001739/0.001739, allocations: 216.9 kB / 23.01 MB, free: 4.602 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.06477/0.06477, allocations: 11.34 MB / 324.5 MB, free: 8.254 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.002008/0.002008, allocations: 68.19 kB / 452.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 56.07 MB / 0.4964 GB, free: 1.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003224/0.1117, allocations: 1.804 MB / 0.4982 GB, free: 64 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1128, allocations: 0.4947 MB / 0.4987 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.1129, allocations: 4 kB / 0.4987 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1131, allocations: 35.66 kB / 0.4987 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.1131, allocations: 31.67 kB / 0.4988 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007564/0.1139, allocations: 291.4 kB / 0.499 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007888/0.1147, allocations: 0.6082 MB / 0.4996 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1148, allocations: 28.94 kB / 0.4997 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.1151, allocations: 195.4 kB / 0.4998 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.1154, allocations: 195.3 kB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.1155, allocations: 28 kB / 0.5001 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1156, allocations: 59.97 kB / 0.5001 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.1157, allocations: 159.5 kB / 0.5003 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.1159, allocations: 163 kB / 0.5004 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.1164, allocations: 386.3 kB / 0.5008 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1164, allocations: 4 kB / 0.5008 GB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1164, allocations: 0 / 0.5008 GB, free: 13.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1164, allocations: 4 kB / 0.5008 GB, free: 13.4 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.001292/0.1177, allocations: 0.6488 MB / 0.5014 GB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1177, allocations: 12.03 kB / 0.5014 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.691e-05/0.1178, allocations: 52.58 kB / 0.5015 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.1183, allocations: 306.3 kB / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1183, allocations: 21.02 kB / 0.5018 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.1184, allocations: 28.38 kB / 0.5018 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.1191, allocations: 370.4 kB / 0.5022 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1191, allocations: 192 / 0.5022 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.1191, allocations: 15.94 kB / 0.5022 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1191, allocations: 4 kB / 0.5022 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.1196, allocations: 278.4 kB / 0.5025 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.1215, allocations: 0.9638 MB / 0.5034 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.1221, allocations: 306.4 kB / 0.5037 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.1224, allocations: 140.8 kB / 0.5038 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.1224, allocations: 4 kB / 0.5038 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.1229, allocations: 263 kB / 0.5041 GB, free: 9.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.1229, allocations: 0 / 0.5041 GB, free: 9.895 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.671357949031517] Failed to read output from testmodel.py, exit status != 0: 0.1323132619727403 0.31713936000000004 0.19804774700000002 Calling exit ...