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.00065/0.00065, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008481/0.001498, allocations: 440 kB / 10.41 MB, free: 284 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.001054/0.001054, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.002216, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9123/0.9123, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08531/0.9976, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.03949/0.03949, allocations: 8.614 MB / 252.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004924/0.04441, allocations: 3.133 MB / 255.9 MB, free: 3.488 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.483e-06/1.483e-06, allocations: 3.938 kB / 257.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.299e-05, allocations: 2.312 kB / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002804/0.002817, allocations: 1.809 MB / 259 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003959, allocations: 0.4945 MB / 259.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.945e-05/0.004049, allocations: 4 kB / 259.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.004176, allocations: 35.66 kB / 259.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.004283, allocations: 43.66 kB / 259.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.004993, allocations: 319.2 kB / 259.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005335/0.005527, allocations: 451 kB / 260.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005636, allocations: 38.8 kB / 260.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.005922, allocations: 207.6 kB / 260.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.006192, allocations: 171.6 kB / 260.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.00625, allocations: 32 kB / 260.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.006382, allocations: 51.97 kB / 260.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.006521, allocations: 135.6 kB / 260.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.006621, allocations: 67.75 kB / 261 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.006967, allocations: 275 kB / 261.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.006975, allocations: 0 / 261.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.006976, allocations: 0 / 261.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.006986, allocations: 0 / 261.3 MB, free: 14.09 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.0009629/0.007949, allocations: 0.6488 MB / 261.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.007981, allocations: 8.031 kB / 261.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.008084, allocations: 52.89 kB / 262 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.008409, allocations: 249.6 kB / 262.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.008436, allocations: 25.02 kB / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.008497, allocations: 28.38 kB / 262.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.008877, allocations: 234 kB / 262.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.008894, allocations: 4.172 kB / 262.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.008927, allocations: 12.38 kB / 262.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.008938, allocations: 4.375 kB / 262.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.009114, allocations: 76.48 kB / 262.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.01025, allocations: 0.5763 MB / 263.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.01058, allocations: 184.8 kB / 263.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.01067, allocations: 56.75 kB / 263.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.01069, allocations: 4 kB / 263.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.01093, allocations: 158 kB / 263.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.01093, allocations: 4 kB / 263.6 MB, free: 11.68 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:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.3857783013954759]