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.001168/0.001168, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001269/0.001269, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05941/0.05941, allocations: 10.73 MB / 281.3 MB, free: 1.301 MB / 222.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.001455/0.001455, allocations: 75.34 kB / 391.5 MB, free: 46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07456/0.07602, allocations: 49.03 MB / 440.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002185/0.07824, allocations: 1.747 MB / 442.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007807/0.07904, allocations: 0.5025 MB / 442.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.07914, allocations: 3.938 kB / 442.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.07931, allocations: 35.66 kB / 442.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.0794, allocations: 31.73 kB / 442.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.07995, allocations: 247.4 kB / 443.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.08033, allocations: 0.5344 MB / 443.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.08046, allocations: 28.69 kB / 443.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.08062, allocations: 191.4 kB / 443.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.08084, allocations: 195.3 kB / 444 MB, free: 312 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.08089, allocations: 28 kB / 444.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.08099, allocations: 59.97 kB / 444.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.08111, allocations: 151.6 kB / 444.3 MB, free: 72 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.08127, allocations: 163 kB / 444.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.08164, allocations: 386.7 kB / 444.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.08165, allocations: 4 kB / 444.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08166, allocations: 0 / 444.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.08167, allocations: 0 / 444.8 MB, free: 15.53 MB / 334.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.001181/0.08286, allocations: 0.7182 MB / 445.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.0829, allocations: 15.89 kB / 445.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.083, allocations: 40.47 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.08348, allocations: 367.9 kB / 445.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.08351, allocations: 20.92 kB / 446 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.08357, allocations: 28.31 kB / 446 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.08419, allocations: 369.2 kB / 446.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.08421, allocations: 192 / 446.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.08426, allocations: 23.92 kB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.08427, allocations: 8 kB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.08474, allocations: 266.1 kB / 446.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.08653, allocations: 0.9939 MB / 447.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.0871, allocations: 314.5 kB / 447.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.08736, allocations: 156.8 kB / 448.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.08738, allocations: 0 / 448.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/0.08778, allocations: 259.1 kB / 448.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.0878, allocations: 4 kB / 448.3 MB, free: 11.81 MB / 334.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[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/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[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/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction could not be translated