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.001099/0.001099, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 173.8 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05519/0.05519, allocations: 10.75 MB / 281.8 MB, free: 10.55 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.000509/0.000509, allocations: 12 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 50.01 MB / 392.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002159/0.1231, allocations: 1.417 MB / 393.7 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.1241, allocations: 0.491 MB / 394.2 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.1242, allocations: 0 / 394.2 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1244, allocations: 31.78 kB / 394.2 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.1245, allocations: 11.88 kB / 394.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.1252, allocations: 215.5 kB / 394.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/0.1259, allocations: 455.2 kB / 394.9 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.126, allocations: 32.66 kB / 394.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.1263, allocations: 179.4 kB / 395.1 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.1266, allocations: 183.3 kB / 395.3 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.1267, allocations: 16 kB / 395.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1268, allocations: 43.97 kB / 395.3 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.127, allocations: 127.7 kB / 395.4 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.1271, allocations: 77.45 kB / 395.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1274, allocations: 271.5 kB / 395.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1274, allocations: 4 kB / 395.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1274, allocations: 0 / 395.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1274, allocations: 4 kB / 395.8 MB, free: 2.234 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.001143/0.1286, allocations: 0.6557 MB / 396.4 MB, free: 1.531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1286, allocations: 12.03 kB / 396.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.682e-05/0.1287, allocations: 47.44 kB / 396.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.1293, allocations: 354.8 kB / 396.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.1293, allocations: 12.56 kB / 396.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-05/0.1294, allocations: 31.98 kB / 396.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.1301, allocations: 364.7 kB / 397.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.1301, allocations: 3.984 kB / 397.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.1302, allocations: 15.95 kB / 397.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1302, allocations: 4 kB / 397.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.1308, allocations: 278.1 kB / 397.5 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.1325, allocations: 0.9902 MB / 398.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.1331, allocations: 316.2 kB / 398.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.1334, allocations: 160.7 kB / 399 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1334, allocations: 0 / 399 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.1339, allocations: 259.1 kB / 399.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.1339, allocations: 0 / 399.3 MB, free: 14.6 MB / 302.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed