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.001283/0.001283, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001809/0.001809, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05395/0.05395, allocations: 10.75 MB / 281.1 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.0004963/0.0004963, allocations: 19.98 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09748, allocations: 50.01 MB / 391.6 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.001787/0.09932, allocations: 1.417 MB / 393 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.1002, allocations: 0.491 MB / 393.5 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.1003, allocations: 0 / 393.5 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1005, allocations: 23.8 kB / 393.6 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.1006, allocations: 23.8 kB / 393.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.1011, allocations: 207.6 kB / 393.8 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.1016, allocations: 459.2 kB / 394.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1018, allocations: 32.61 kB / 394.3 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.102, allocations: 175.4 kB / 394.4 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1023, allocations: 187.3 kB / 394.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.1023, allocations: 16 kB / 394.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1025, allocations: 39.97 kB / 394.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1026, allocations: 131.7 kB / 394.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.1027, allocations: 81.45 kB / 394.9 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.103, allocations: 271.5 kB / 395.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.103, allocations: 0 / 395.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.103, allocations: 0 / 395.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.103, allocations: 4 kB / 395.2 MB, free: 2.219 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.001129/0.1042, allocations: 0.6478 MB / 395.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1042, allocations: 12.03 kB / 395.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.1043, allocations: 51.42 kB / 395.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.1047, allocations: 346.9 kB / 396.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.1048, allocations: 24.55 kB / 396.2 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.1048, allocations: 27.98 kB / 396.3 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.1054, allocations: 364.7 kB / 396.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1054, allocations: 0 / 396.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.1055, allocations: 19.94 kB / 396.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1055, allocations: 7.938 kB / 396.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.106, allocations: 274.1 kB / 396.9 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.1076, allocations: 0.9941 MB / 397.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.1082, allocations: 323.2 kB / 398.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.1085, allocations: 156.8 kB / 398.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1085, allocations: 4 kB / 398.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.1089, allocations: 255.1 kB / 398.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.1089, allocations: 0 / 398.6 MB, free: 14.58 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed