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.01154/0.01154, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002254/0.002254, allocations: 199.9 kB / 16.68 MB, free: 5.969 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.859/1.859, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05835/0.05835, allocations: 10.75 MB / 280.7 MB, free: 10.43 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.001816/0.001816, allocations: 72.52 kB / 390.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.353, allocations: 49.01 MB / 439.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.004472/0.3576, allocations: 1.762 MB / 441.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.359, allocations: 0.4936 MB / 442.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.3592, allocations: 2.75 kB / 442.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.3594, allocations: 35.88 kB / 442.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.3596, allocations: 32.5 kB / 442.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008787/0.3604, allocations: 250.8 kB / 442.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00075/0.3612, allocations: 0.5325 MB / 443 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.3614, allocations: 28.08 kB / 443 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.3617, allocations: 192.4 kB / 443.2 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.3621, allocations: 189.4 kB / 443.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.3621, allocations: 27.31 kB / 443.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.3623, allocations: 61.12 kB / 443.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.3625, allocations: 155.9 kB / 443.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.3627, allocations: 164.5 kB / 443.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.3633, allocations: 384.2 kB / 444.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3633, allocations: 4 kB / 444.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3633, allocations: 0 / 444.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.3634, allocations: 1.188 kB / 444.1 MB, free: 2.902 MB / 318.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.001524/0.3649, allocations: 0.7306 MB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.365, allocations: 13.27 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3651, allocations: 47.3 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.3655, allocations: 363.7 kB / 445.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.3656, allocations: 22.38 kB / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.3656, allocations: 29.59 kB / 445.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.3664, allocations: 369.3 kB / 445.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3664, allocations: 9.812 kB / 445.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.3665, allocations: 12.7 kB / 445.7 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3665, allocations: 6.938 kB / 445.7 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005829/0.3671, allocations: 272.9 kB / 446 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.369, allocations: 0.9918 MB / 447 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.3696, allocations: 323.7 kB / 447.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.3699, allocations: 148.1 kB / 447.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.37, allocations: 2.344 kB / 447.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.3705, allocations: 270.6 kB / 447.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.986e-06/0.3705, allocations: 0 / 447.7 MB, free: 0.7344 MB / 318.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[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: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[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: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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed