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.0008627/0.0008627, 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.0009145/0.0009145, allocations: 181 kB / 23.36 MB, free: 1.129 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.868/0.868, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.03596/0.03596, allocations: 8.624 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.473e-06/1.473e-06, allocations: 0 / 288 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.789e-05, allocations: 2.312 kB / 288 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.1063/0.1064, allocations: 1.763 MB / 289.8 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.1072, allocations: 498.8 kB / 290.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.1073, allocations: 6.234 kB / 290.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1074, allocations: 41.94 kB / 290.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.1075, allocations: 29.83 kB / 290.4 MB, free: 18.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.1081, allocations: 333.8 kB / 290.7 MB, free: 18.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.1086, allocations: 459.1 kB / 291.1 MB, free: 18.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.1087, allocations: 23.53 kB / 291.2 MB, free: 18.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1089, allocations: 198.4 kB / 291.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1091, allocations: 170.3 kB / 291.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.1091, allocations: 28 kB / 291.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.1092, allocations: 52.53 kB / 291.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1093, allocations: 156.2 kB / 291.8 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.1094, allocations: 97.97 kB / 291.9 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1097, allocations: 310.7 kB / 292.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1097, allocations: 1.125 kB / 292.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1097, allocations: 1.484 kB / 292.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1097, allocations: 1.312 kB / 292.2 MB, free: 18.42 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.0006837/0.1104, allocations: 0.5938 MB / 292.8 MB, free: 18.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.1104, allocations: 10.19 kB / 292.8 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.1105, allocations: 50.39 kB / 292.8 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1107, allocations: 256.6 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1107, allocations: 21.02 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.1108, allocations: 29.44 kB / 293.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1111, allocations: 236.3 kB / 293.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1111, allocations: 192 / 293.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1111, allocations: 13.62 kB / 293.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1111, allocations: 5.938 kB / 293.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1112, allocations: 78.44 kB / 293.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/0.112, allocations: 0.5663 MB / 294 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.1122, allocations: 181.3 kB / 294.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.1122, allocations: 46.78 kB / 294.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.1123, allocations: 5.531 kB / 294.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.1124, allocations: 173.8 kB / 294.4 MB, free: 17.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.323e-06/0.1124, allocations: 0 / 294.4 MB, free: 17.44 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.4642961090430617]