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.001036/0.001036, allocations: 92.22 kB / 19.65 MB, free: 276 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.001158/0.001158, allocations: 173 kB / 23.02 MB, free: 1.547 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.9682/0.9682, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.0366/0.0366, allocations: 8.611 MB / 268.6 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.944e-06/1.944e-06, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.152e-05, allocations: 16.64 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003007/0.003038, allocations: 1.771 MB / 342.6 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.004127, allocations: 490.5 kB / 343.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.004335, allocations: 0 / 343.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.004551, allocations: 39.66 kB / 343.2 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.004656, allocations: 39.59 kB / 343.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.005405, allocations: 323.2 kB / 343.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.00577, allocations: 455 kB / 344 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.005893, allocations: 28.89 kB / 344 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.006078, allocations: 195.6 kB / 344.2 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.006324, allocations: 171.6 kB / 344.4 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.00637, allocations: 28 kB / 344.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.006481, allocations: 55.97 kB / 344.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.006579, allocations: 159.4 kB / 344.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.006664, allocations: 99.66 kB / 344.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.006974, allocations: 310.9 kB / 345 MB, free: 4.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.006979, allocations: 0 / 345 MB, free: 4.258 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.006981, allocations: 0 / 345 MB, free: 4.258 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.006987, allocations: 0 / 345 MB, free: 4.258 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.0008534/0.007841, allocations: 0.7466 MB / 345.7 MB, free: 3.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.007882, allocations: 12.03 kB / 345.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.007996, allocations: 68.64 kB / 345.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.008266, allocations: 296.4 kB / 346.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.008283, allocations: 17.03 kB / 346.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.008322, allocations: 36.31 kB / 346.2 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.008646, allocations: 247.2 kB / 346.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.008659, allocations: 192 / 346.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.008683, allocations: 8.375 kB / 346.4 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.008693, allocations: 4.375 kB / 346.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.00886, allocations: 119.8 kB / 346.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.009842, allocations: 0.8 MB / 347.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.01014, allocations: 179 kB / 347.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.01023, allocations: 67.64 kB / 347.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.01024, allocations: 8.5 kB / 347.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.01043, allocations: 180.9 kB / 347.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.01043, allocations: 3.938 kB / 347.8 MB, free: 1.348 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.729414606001228]