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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004713/0.004713, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001254/0.001254, allocations: 194.7 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.2062/0.2062, allocations: 11.18 MB / 301.7 MB, free: 1.238 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 417.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2681, allocations: 51.97 MB / 469.3 MB, free: 16.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002767/0.2709, allocations: 1.777 MB / 471.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.272, allocations: 0.4934 MB / 471.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2721, allocations: 6.156 kB / 471.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.2724, allocations: 36.19 kB / 471.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.2724, allocations: 27.31 kB / 471.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.2732, allocations: 251.5 kB / 471.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.2738, allocations: 0.5317 MB / 472.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.274, allocations: 32.08 kB / 472.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.2742, allocations: 186.3 kB / 472.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.2745, allocations: 197.6 kB / 472.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.2746, allocations: 27.72 kB / 472.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.2747, allocations: 56.98 kB / 472.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.2749, allocations: 150 kB / 473.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.2751, allocations: 170.2 kB / 473.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.2756, allocations: 380.7 kB / 473.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2756, allocations: 0 / 473.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2756, allocations: 0 / 473.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2756, allocations: 0 / 473.6 MB, free: 14.2 MB / 350.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.001173/0.2768, allocations: 0.7313 MB / 474.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2768, allocations: 13.73 kB / 474.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.07e-05/0.2769, allocations: 64.22 kB / 474.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.277, allocations: 47.8 kB / 474.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.2774, allocations: 369.2 kB / 474.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2774, allocations: 23.92 kB / 474.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.2775, allocations: 31.61 kB / 474.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.278, allocations: 368.6 kB / 475.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.2781, allocations: 3.938 kB / 475.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2781, allocations: 10.73 kB / 475.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2781, allocations: 6.875 kB / 475.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.2786, allocations: 270.9 kB / 475.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.2802, allocations: 0.9863 MB / 476.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.2808, allocations: 323 kB / 476.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.2811, allocations: 148 kB / 477 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2811, allocations: 2.875 kB / 477 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.2815, allocations: 261.4 kB / 477.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.407e-06/0.2815, allocations: 3.984 kB / 477.2 MB, free: 11.65 MB / 350.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