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.00235/0.00235, allocations: 88.16 kB / 19.44 MB, free: 192 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.002833/0.002833, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.627/1.627, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.07355/0.07355, allocations: 8.61 MB / 268.2 MB, free: 4.957 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.152e-06/1.152e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.864e-05, allocations: 6.312 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002059/0.002078, allocations: 1.742 MB / 341.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.002878, allocations: 498.5 kB / 342.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.002952, allocations: 4 kB / 342.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.003108, allocations: 43.64 kB / 342.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.003192, allocations: 31.67 kB / 342.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.003876, allocations: 327.2 kB / 342.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.004231, allocations: 451 kB / 343.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004333, allocations: 32.89 kB / 343.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.004508, allocations: 191.6 kB / 343.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.004722, allocations: 175.5 kB / 343.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.004773, allocations: 28 kB / 343.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.523e-05/0.004868, allocations: 51.97 kB / 343.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.004972, allocations: 155.5 kB / 343.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.005065, allocations: 99.66 kB / 343.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.005383, allocations: 406.7 kB / 344.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005385, allocations: 0 / 344.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005386, allocations: 0 / 344.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005391, allocations: 0 / 344.3 MB, free: 4.551 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.000987/0.006378, allocations: 0.7658 MB / 345.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.006407, allocations: 8.031 kB / 345.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.006518, allocations: 72.64 kB / 345.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.006894, allocations: 284.4 kB / 345.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.006913, allocations: 29.02 kB / 345.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.006963, allocations: 28.33 kB / 345.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.007382, allocations: 254.5 kB / 345.7 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.0074, allocations: 4.172 kB / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.007432, allocations: 16.36 kB / 345.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.007438, allocations: 4.375 kB / 345.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.007734, allocations: 150.4 kB / 345.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.009176, allocations: 0.8586 MB / 346.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.009605, allocations: 219 kB / 347 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.009756, allocations: 84.14 kB / 347.1 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.009768, allocations: 4 kB / 347.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.01004, allocations: 204.9 kB / 347.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.01004, allocations: 0 / 347.3 MB, free: 1.453 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:8001:5-8001:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.376190447015688]