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.00094/0.00094, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009861/0.0009861, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.096/1.096, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.03922/0.03922, allocations: 8.611 MB / 268.5 MB, free: 4.91 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.814e-06/1.814e-06, allocations: 0 / 340.8 MB, free: 9.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.075e-05, allocations: 2.312 kB / 340.8 MB, free: 9.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003473/0.003503, allocations: 1.797 MB / 342.6 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.004625, allocations: 490.6 kB / 343.1 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.004742, allocations: 3.938 kB / 343.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.004923, allocations: 35.66 kB / 343.2 MB, free: 7.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.005036, allocations: 35.72 kB / 343.2 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.005966, allocations: 331.1 kB / 343.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.006564, allocations: 450.9 kB / 344 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.006688, allocations: 28.92 kB / 344 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.006988, allocations: 199.6 kB / 344.2 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.007308, allocations: 167.6 kB / 344.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.91e-05/0.007397, allocations: 28 kB / 344.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.007523, allocations: 51.97 kB / 344.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.007686, allocations: 155.5 kB / 344.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.007816, allocations: 103.7 kB / 344.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.008252, allocations: 303 kB / 345 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.008257, allocations: 0 / 345 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008258, allocations: 0 / 345 MB, free: 5.359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.008266, allocations: 0 / 345 MB, free: 5.359 MB / 314.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.001165/0.009431, allocations: 0.7582 MB / 345.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.00947, allocations: 8.031 kB / 345.7 MB, free: 4.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.009618, allocations: 72.64 kB / 345.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.01005, allocations: 296.4 kB / 346.1 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.01008, allocations: 21.03 kB / 346.1 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.01014, allocations: 24.36 kB / 346.1 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.0106, allocations: 251.2 kB / 346.4 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01061, allocations: 192 / 346.4 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.01063, allocations: 12.38 kB / 346.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.01064, allocations: 4.375 kB / 346.4 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.01082, allocations: 119.8 kB / 346.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.01191, allocations: 0.8038 MB / 347.3 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.01224, allocations: 179 kB / 347.5 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.01234, allocations: 67.64 kB / 347.6 MB, free: 2.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.01235, allocations: 8 kB / 347.6 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.01256, allocations: 176.8 kB / 347.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.01257, allocations: 0 / 347.7 MB, free: 2.441 MB / 314.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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8658965271897614]