Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0008358/0.0008358, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002061, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007254/0.0007254, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009316/0.001657, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.997/0.997, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09783/1.095, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.05501/0.05501, allocations: 9.784 MB / 253.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006394/0.06141, allocations: 3.48 MB / 257.2 MB, free: 2.109 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 258.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.934e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002139/0.002158, allocations: 1.801 MB / 260.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000678/0.002836, allocations: 0.5023 MB / 260.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.002912, allocations: 0 / 260.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.00302, allocations: 43.64 kB / 260.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.003089, allocations: 31.67 kB / 260.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.003564, allocations: 315.2 kB / 261.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.003909, allocations: 455.1 kB / 261.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.004001, allocations: 38.75 kB / 261.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.004188, allocations: 207.6 kB / 261.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.004367, allocations: 175.6 kB / 262 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.004402, allocations: 28 kB / 262.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.004498, allocations: 59.95 kB / 262.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.004588, allocations: 123.6 kB / 262.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.004657, allocations: 63.81 kB / 262.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.004904, allocations: 278.9 kB / 262.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.004916, allocations: 0 / 262.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004917, allocations: 0 / 262.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.00493, allocations: 0 / 262.6 MB, free: 12.74 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.0007586/0.005689, allocations: 0.6527 MB / 263.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.005716, allocations: 12.03 kB / 263.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.005778, allocations: 44.89 kB / 263.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.006004, allocations: 253.6 kB / 263.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.006021, allocations: 29.02 kB / 263.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.006056, allocations: 24.38 kB / 263.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.0063, allocations: 238 kB / 263.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.006312, allocations: 4.141 kB / 263.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.006331, allocations: 8.375 kB / 263.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006338, allocations: 4.375 kB / 263.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.006445, allocations: 80.48 kB / 263.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.007179, allocations: 0.5685 MB / 264.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.007433, allocations: 177.2 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.007494, allocations: 52.77 kB / 264.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.007502, allocations: 4 kB / 264.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.007679, allocations: 170 kB / 264.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.332e-06/0.007681, allocations: 0 / 264.9 MB, free: 10.33 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5213419534265995]