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.008356/0.008356, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.002022/0.002021, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.495/1.495, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05894/0.05894, allocations: 10.76 MB / 280.7 MB, free: 10.38 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.002936/0.002936, allocations: 64.12 kB / 390.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3164, allocations: 49.02 MB / 439.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003505/0.32, allocations: 1.757 MB / 441.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3213, allocations: 0.4934 MB / 441.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3215, allocations: 2.125 kB / 441.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.3218, allocations: 38.55 kB / 441.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.3219, allocations: 31.97 kB / 441.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.3227, allocations: 243.7 kB / 441.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.3233, allocations: 0.5312 MB / 442.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3234, allocations: 42.08 kB / 442.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.3237, allocations: 188.1 kB / 442.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.324, allocations: 190 kB / 442.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.324, allocations: 31.48 kB / 442.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3242, allocations: 52.31 kB / 442.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.3244, allocations: 156.3 kB / 443.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.3246, allocations: 169 kB / 443.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.3252, allocations: 382.7 kB / 443.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3252, allocations: 0 / 443.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.3252, allocations: 1 kB / 443.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.3252, allocations: 0 / 443.6 MB, free: 2.625 MB / 318.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.001466/0.3267, allocations: 0.7199 MB / 444.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3268, allocations: 16.92 kB / 444.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.813e-05/0.3269, allocations: 61.33 kB / 444.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.327, allocations: 46.61 kB / 444.5 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.3274, allocations: 364.2 kB / 444.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.3275, allocations: 17.75 kB / 444.8 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.3275, allocations: 32.8 kB / 444.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.3283, allocations: 370.7 kB / 445.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3283, allocations: 5 kB / 445.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.3284, allocations: 13.61 kB / 445.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3284, allocations: 5.469 kB / 445.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.329, allocations: 278.2 kB / 445.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.3309, allocations: 0.9986 MB / 446.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005634/0.3315, allocations: 311.2 kB / 446.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.3317, allocations: 147.2 kB / 447 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3318, allocations: 3.969 kB / 447 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.3321, allocations: 264.8 kB / 447.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.3321, allocations: 0 / 447.2 MB, free: 0.5078 MB / 318.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