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.0009933/0.0009933, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001242/0.001242, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9325/0.9325, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.03633/0.03633, allocations: 8.622 MB / 268.9 MB, free: 4.758 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.162e-06/1.162e-06, allocations: 0 / 341.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.84e-05, allocations: 5.406 kB / 341.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002358/0.002376, allocations: 1.767 MB / 343.1 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.003196, allocations: 486.6 kB / 343.5 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.003271, allocations: 3.938 kB / 343.6 MB, free: 6.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.003409, allocations: 31.72 kB / 343.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.863e-05/0.003498, allocations: 39.61 kB / 343.6 MB, free: 6.863 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.004372, allocations: 327.2 kB / 343.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.004776, allocations: 458.9 kB / 344.4 MB, free: 6.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.004863, allocations: 20.88 kB / 344.4 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.005062, allocations: 207.5 kB / 344.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.005269, allocations: 171.6 kB / 344.8 MB, free: 5.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.005314, allocations: 28 kB / 344.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.789e-05/0.005401, allocations: 47.98 kB / 344.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.005516, allocations: 155.5 kB / 345 MB, free: 5.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.005603, allocations: 95.67 kB / 345.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.005892, allocations: 314.9 kB / 345.4 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-06/0.005893, allocations: 4 kB / 345.4 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005893, allocations: 0 / 345.4 MB, free: 5.074 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.005897, allocations: 0 / 345.4 MB, free: 5.074 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.0007267/0.006623, allocations: 0.7309 MB / 346.1 MB, free: 4.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.006656, allocations: 12.03 kB / 346.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.978e-05/0.006745, allocations: 64.64 kB / 346.2 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.007001, allocations: 276.4 kB / 346.5 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.00702, allocations: 25.02 kB / 346.5 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.007066, allocations: 36.3 kB / 346.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.007347, allocations: 227.2 kB / 346.8 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.007358, allocations: 192 / 346.8 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.007382, allocations: 12.36 kB / 346.8 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007389, allocations: 4.375 kB / 346.8 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.007536, allocations: 100.4 kB / 346.9 MB, free: 3.527 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.008477, allocations: 0.7107 MB / 347.6 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.008749, allocations: 162.9 kB / 347.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.008836, allocations: 60.11 kB / 347.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.008846, allocations: 8 kB / 347.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.009289, allocations: 160.8 kB / 348 MB, free: 2.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.009291, allocations: 0 / 348 MB, free: 2.375 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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7069086809642613]