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.001202/0.001202, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001287/0.001287, allocations: 215 kB / 20.13 MB, free: 2.949 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.391/1.391, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06138/0.06138, allocations: 11.34 MB / 320.9 MB, free: 14.11 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.001851/0.001851, allocations: 70.81 kB / 446.5 MB, free: 39.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09218, allocations: 56.01 MB / 0.4908 GB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002166/0.09435, allocations: 1.778 MB / 0.4925 GB, free: 1.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007609/0.09511, allocations: 0.5064 MB / 0.493 GB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.09518, allocations: 3.938 kB / 0.493 GB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.09533, allocations: 35.66 kB / 0.493 GB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.09541, allocations: 27.73 kB / 0.493 GB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.09592, allocations: 251.4 kB / 0.4933 GB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.09627, allocations: 0.5342 MB / 0.4938 GB, free: 436 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.09638, allocations: 32.73 kB / 0.4938 GB, free: 396 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.09652, allocations: 195.3 kB / 0.494 GB, free: 200 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.09672, allocations: 195.3 kB / 0.4942 GB, free: 4 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.09679, allocations: 28.05 kB / 0.4942 GB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.09689, allocations: 51.94 kB / 0.4943 GB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.09706, allocations: 163.5 kB / 0.4944 GB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.09722, allocations: 159 kB / 0.4946 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.09765, allocations: 386.6 kB / 0.495 GB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09765, allocations: 0 / 0.495 GB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09766, allocations: 0 / 0.495 GB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.09766, allocations: 4 kB / 0.495 GB, free: 15.23 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.001247/0.09891, allocations: 0.7296 MB / 0.4957 GB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.09894, allocations: 16.03 kB / 0.4957 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.904e-05/0.09896, allocations: 4.75 kB / 0.4957 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.874e-05/0.09904, allocations: 70.7 kB / 0.4958 GB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.09912, allocations: 44.66 kB / 0.4958 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.09957, allocations: 364.2 kB / 0.4962 GB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.09959, allocations: 20.94 kB / 0.4962 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.09965, allocations: 28.36 kB / 0.4962 GB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.1003, allocations: 372.9 kB / 0.4966 GB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1003, allocations: 8 kB / 0.4966 GB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.1003, allocations: 11.98 kB / 0.4966 GB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1003, allocations: 8 kB / 0.4966 GB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.1008, allocations: 270.1 kB / 0.4968 GB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.1025, allocations: 0.9942 MB / 0.4978 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.1031, allocations: 300.2 kB / 0.4981 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.1034, allocations: 140.8 kB / 0.4982 GB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1034, allocations: 7.938 kB / 0.4982 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004104/0.1038, allocations: 263.1 kB / 0.4985 GB, free: 11.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.1038, allocations: 0 / 0.4985 GB, free: 11.44 MB / 366.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.4463945960160345] Failed to read output from testmodel.py, exit status != 0: 0.11065328301629052 0.124312901 0.024002014000000002 Calling exit ...