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: "" <> 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.001803/0.001804, allocations: 108 kB / 15.61 MB, free: 152 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.003299/0.003299, allocations: 195.8 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.113/3.113, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08855/0.08855, allocations: 10.74 MB / 280.5 MB, free: 10.52 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.00256/0.00256, allocations: 67.91 kB / 340.6 MB, free: 23.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2043, allocations: 49 MB / 389.7 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.005873/0.2103, allocations: 1.772 MB / 391.4 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.2123, allocations: 0.4908 MB / 391.9 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.2127, allocations: 4 kB / 391.9 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.213, allocations: 35.66 kB / 392 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.2133, allocations: 35.66 kB / 392 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.2146, allocations: 247.5 kB / 392.2 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.216, allocations: 0.5304 MB / 392.8 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.2163, allocations: 36.73 kB / 392.8 MB, free: 3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.2169, allocations: 179.5 kB / 393 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.2177, allocations: 195.2 kB / 393.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.2179, allocations: 28 kB / 393.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.2183, allocations: 59.97 kB / 393.2 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.2186, allocations: 155.5 kB / 393.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.2192, allocations: 167 kB / 393.6 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.2203, allocations: 374.8 kB / 393.9 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2203, allocations: 0 / 393.9 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.2203, allocations: 0 / 393.9 MB, free: 1.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.2204, allocations: 0 / 393.9 MB, free: 1.863 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.002596/0.223, allocations: 0.7186 MB / 394.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.2231, allocations: 15.89 kB / 394.7 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.2233, allocations: 62.72 kB / 394.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.2235, allocations: 48.36 kB / 394.8 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008753/0.2244, allocations: 367.9 kB / 395.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.2244, allocations: 24.92 kB / 395.2 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.2245, allocations: 32.36 kB / 395.2 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2257, allocations: 365.2 kB / 395.5 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.2257, allocations: 3.938 kB / 395.5 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/0.2258, allocations: 11.98 kB / 395.6 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.2259, allocations: 7.938 kB / 395.6 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008417/0.2267, allocations: 278 kB / 395.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.2298, allocations: 0.99 MB / 396.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.2309, allocations: 306.5 kB / 397.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.2314, allocations: 149.2 kB / 397.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2314, allocations: 0 / 397.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007005/0.2321, allocations: 263.1 kB / 397.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.767e-06/0.2322, allocations: 0 / 397.5 MB, free: 14.07 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed