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.001313/0.001313, 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.001362/0.001362, allocations: 194.8 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.483/1.483, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05574/0.05574, allocations: 10.74 MB / 280.2 MB, free: 10.66 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.001373/0.001373, allocations: 67.89 kB / 340.1 MB, free: 23.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09862, allocations: 49 MB / 389.1 MB, free: 6.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002868/0.1015, allocations: 1.821 MB / 391 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1026, allocations: 0.5025 MB / 391.5 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.1027, allocations: 0 / 391.5 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1029, allocations: 23.8 kB / 391.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.076e-05/0.103, allocations: 19.86 kB / 391.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.1037, allocations: 235.5 kB / 391.7 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.1043, allocations: 0.5304 MB / 392.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1045, allocations: 32.73 kB / 392.3 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1047, allocations: 195.4 kB / 392.5 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.105, allocations: 191.2 kB / 392.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.1051, allocations: 28 kB / 392.7 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1052, allocations: 59.97 kB / 392.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1054, allocations: 151.6 kB / 392.9 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1056, allocations: 174.9 kB / 393.1 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.106, allocations: 378.8 kB / 393.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.106, allocations: 0 / 393.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.106, allocations: 0 / 393.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.106, allocations: 0 / 393.5 MB, free: 2.176 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.001359/0.1074, allocations: 0.7186 MB / 394.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1075, allocations: 15.89 kB / 394.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.1075, allocations: 62.72 kB / 394.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.059e-05/0.1076, allocations: 44.38 kB / 394.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.1081, allocations: 371.9 kB / 394.7 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.1081, allocations: 20.94 kB / 394.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.1082, allocations: 36.3 kB / 394.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.1089, allocations: 365.2 kB / 395.1 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.109, allocations: 7.938 kB / 395.1 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.109, allocations: 4 kB / 395.1 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.109, allocations: 8 kB / 395.1 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1095, allocations: 278 kB / 395.4 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.1113, allocations: 0.9939 MB / 396.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.112, allocations: 314.5 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.1122, allocations: 140.8 kB / 396.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1123, allocations: 4 kB / 396.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.1127, allocations: 267 kB / 397.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.1127, allocations: 0 / 397.1 MB, free: 14.38 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed