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.001295/0.001295, allocations: 103.2 kB / 16.45 MB, free: 6.449 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.001356/0.001356, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.06682/0.06682, allocations: 11.32 MB / 320.2 MB, free: 9.406 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.002101/0.002101, allocations: 67.91 kB / 445.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1135, allocations: 56.01 MB / 0.4901 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.004119/0.1176, allocations: 1.789 MB / 0.4918 GB, free: 3.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1188, allocations: 498.6 kB / 0.4923 GB, free: 3.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.119, allocations: 4 kB / 0.4923 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1192, allocations: 39.66 kB / 0.4923 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.924e-05/0.1193, allocations: 35.66 kB / 0.4924 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007182/0.12, allocations: 255.5 kB / 0.4926 GB, free: 3.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.1206, allocations: 0.5381 MB / 0.4931 GB, free: 2.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1208, allocations: 24.73 kB / 0.4931 GB, free: 2.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.1211, allocations: 187.4 kB / 0.4933 GB, free: 2.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.1214, allocations: 203.3 kB / 0.4935 GB, free: 2.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.1215, allocations: 31.94 kB / 0.4935 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1216, allocations: 47.98 kB / 0.4936 GB, free: 1.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1218, allocations: 159.5 kB / 0.4937 GB, free: 1.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.122, allocations: 167 kB / 0.4939 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.1225, allocations: 386.6 kB / 0.4943 GB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1225, allocations: 4 kB / 0.4943 GB, free: 1.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1225, allocations: 0 / 0.4943 GB, free: 1.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.1226, allocations: 0 / 0.4943 GB, free: 1.281 MB / 366.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.001543/0.1241, allocations: 0.7258 MB / 0.495 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1242, allocations: 15.97 kB / 0.495 GB, free: 500 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.1243, allocations: 62.7 kB / 0.4951 GB, free: 428 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.1244, allocations: 44.66 kB / 0.4951 GB, free: 384 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.1249, allocations: 372.2 kB / 0.4955 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.1249, allocations: 16.94 kB / 0.4955 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.125, allocations: 32.36 kB / 0.4955 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.1257, allocations: 369.2 kB / 0.4959 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.1258, allocations: 3.938 kB / 0.4959 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.1258, allocations: 11.98 kB / 0.4959 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1258, allocations: 8 kB / 0.4959 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.1264, allocations: 266.1 kB / 0.4961 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.1284, allocations: 0.998 MB / 0.4971 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/0.1291, allocations: 306.4 kB / 0.4974 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.1294, allocations: 145.2 kB / 0.4975 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1294, allocations: 4 kB / 0.4975 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.1299, allocations: 271 kB / 0.4978 GB, free: 13.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.1299, allocations: 0 / 0.4978 GB, free: 13.5 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.71659822500078] Failed to read output from testmodel.py, exit status != 0: 0.1389214289956726 0.34103338099999997 0.028790303000000003 Calling exit ...