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.001379/0.00138, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001039/0.001039, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05396/0.05396, allocations: 10.73 MB / 280.2 MB, free: 10.68 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.001323/0.001323, allocations: 68.27 kB / 340 MB, free: 23.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09692, allocations: 49.02 MB / 389 MB, free: 6.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002801/0.09977, allocations: 1.814 MB / 390.9 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.1008, allocations: 0.4948 MB / 391.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.1008, allocations: 0 / 391.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.101, allocations: 23.8 kB / 391.4 MB, free: 4.273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.1011, allocations: 23.8 kB / 391.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005773/0.1017, allocations: 231.6 kB / 391.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.1022, allocations: 0.5381 MB / 392.2 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1023, allocations: 32.73 kB / 392.2 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1025, allocations: 187.4 kB / 392.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1027, allocations: 207.2 kB / 392.6 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.1028, allocations: 28 kB / 392.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1029, allocations: 51.97 kB / 392.7 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.103, allocations: 151.6 kB / 392.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1032, allocations: 163 kB / 393 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.1036, allocations: 382.8 kB / 393.3 MB, free: 2.309 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1036, allocations: 0 / 393.3 MB, free: 2.309 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1036, allocations: 0 / 393.3 MB, free: 2.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1036, allocations: 0 / 393.3 MB, free: 2.309 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.001174/0.1048, allocations: 0.7301 MB / 394.1 MB, free: 1.523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1048, allocations: 11.89 kB / 394.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.1049, allocations: 48.36 kB / 394.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.1053, allocations: 363.9 kB / 394.5 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1053, allocations: 16.94 kB / 394.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.1054, allocations: 32.36 kB / 394.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.106, allocations: 365.2 kB / 394.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.106, allocations: 8.188 kB / 394.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.106, allocations: 15.92 kB / 394.9 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1061, allocations: 8 kB / 394.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.1065, allocations: 270.1 kB / 395.2 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.1081, allocations: 0.9901 MB / 396.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.1087, allocations: 314.5 kB / 396.5 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1089, allocations: 145.2 kB / 396.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.109, allocations: 4 kB / 396.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004019/0.1094, allocations: 271 kB / 396.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.1094, allocations: 0 / 396.9 MB, free: 14.57 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed