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.001122/0.001122, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001224/0.001224, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9639/0.9639, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.04098/0.04098, allocations: 8.626 MB / 268.9 MB, free: 4.777 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 288.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.294e-05, allocations: 6.25 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.1165/0.1165, allocations: 1.804 MB / 289.9 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.1175, allocations: 497.2 kB / 290.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.1176, allocations: 2.312 kB / 290.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1177, allocations: 42.53 kB / 290.4 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.1178, allocations: 35.23 kB / 290.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.1186, allocations: 327.2 kB / 290.8 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.1191, allocations: 454.5 kB / 291.2 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1192, allocations: 31.09 kB / 291.3 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1194, allocations: 196.7 kB / 291.4 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1197, allocations: 170.4 kB / 291.6 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.579e-05/0.1198, allocations: 31.19 kB / 291.6 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1199, allocations: 54.95 kB / 291.7 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.12, allocations: 156.4 kB / 291.8 MB, free: 19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1202, allocations: 98.3 kB / 291.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1205, allocations: 311.5 kB / 292.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1205, allocations: 0 / 292.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1205, allocations: 0.6875 kB / 292.3 MB, free: 18.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1205, allocations: 0 / 292.3 MB, free: 18.85 MB / 266.7 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.0007653/0.1213, allocations: 0.5918 MB / 292.8 MB, free: 18.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1213, allocations: 8.781 kB / 292.9 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1214, allocations: 48.72 kB / 292.9 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1217, allocations: 268.7 kB / 293.2 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1217, allocations: 18.42 kB / 293.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.1218, allocations: 29.27 kB / 293.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1221, allocations: 233.8 kB / 293.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1221, allocations: 0.6875 kB / 293.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.1221, allocations: 10.66 kB / 293.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1221, allocations: 6.406 kB / 293.5 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.1222, allocations: 78.39 kB / 293.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.1231, allocations: 0.5656 MB / 294.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1233, allocations: 182.6 kB / 294.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.1234, allocations: 50.89 kB / 294.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1234, allocations: 4.969 kB / 294.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.1236, allocations: 169 kB / 294.5 MB, free: 17.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.1236, allocations: 1.688 kB / 294.5 MB, free: 17.66 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6281413878314197]