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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0534/0.0534, allocations: 10.73 MB / 280.1 MB, free: 10.96 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 339.8 MB, free: 23.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 49.03 MB / 388.9 MB, free: 6.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003287/0.1092, allocations: 1.81 MB / 390.7 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1103, allocations: 0.5025 MB / 391.2 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.1104, allocations: 0 / 391.2 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1107, allocations: 23.8 kB / 391.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.103e-05/0.1108, allocations: 23.8 kB / 391.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.1114, allocations: 231.6 kB / 391.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.1119, allocations: 0.5068 MB / 392 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.112, allocations: 32.73 kB / 392 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.1122, allocations: 163.4 kB / 392.2 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.1125, allocations: 191.3 kB / 392.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.1126, allocations: 12 kB / 392.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1127, allocations: 47.97 kB / 392.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.1129, allocations: 135.6 kB / 392.5 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1131, allocations: 163 kB / 392.7 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.1135, allocations: 354.8 kB / 393 MB, free: 2.539 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1135, allocations: 4 kB / 393 MB, free: 2.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1135, allocations: 0 / 393 MB, free: 2.535 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1135, allocations: 0 / 393 MB, free: 2.535 MB / 286.1 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.001421/0.115, allocations: 0.7335 MB / 393.8 MB, free: 1.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.115, allocations: 12.03 kB / 393.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1151, allocations: 40.38 kB / 393.8 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.1156, allocations: 363.9 kB / 394.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.1156, allocations: 24.86 kB / 394.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.1157, allocations: 28.38 kB / 394.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.1163, allocations: 377.2 kB / 394.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1164, allocations: 192 / 394.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.1164, allocations: 15.92 kB / 394.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1164, allocations: 4 kB / 394.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.1169, allocations: 274.1 kB / 394.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.1186, allocations: 0.9823 MB / 395.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.1192, allocations: 314.9 kB / 396.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.1195, allocations: 152.7 kB / 396.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1195, allocations: 0 / 396.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.1199, allocations: 267 kB / 396.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.1199, allocations: 0 / 396.6 MB, free: 14.81 MB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332: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[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; 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:342:7-342: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[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; 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:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed