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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 225.8 kB / 22.25 MB, free: 3.566 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.149/1.149, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04839/0.04839, allocations: 11.33 MB / 323.8 MB, free: 7.059 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 60.53 kB / 451.7 MB, free: 35.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1334, allocations: 56.07 MB / 0.4959 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002769/0.1362, allocations: 1.724 MB / 0.4976 GB, free: 9.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.1372, allocations: 478.7 kB / 0.498 GB, free: 8.848 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1373, allocations: 7.938 kB / 0.4981 GB, free: 8.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1375, allocations: 39.66 kB / 0.4981 GB, free: 8.801 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.666e-05/0.1376, allocations: 31.73 kB / 0.4981 GB, free: 8.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008001/0.1384, allocations: 283.4 kB / 0.4984 GB, free: 8.492 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000618/0.1391, allocations: 0.6004 MB / 0.499 GB, free: 7.891 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.1392, allocations: 20.88 kB / 0.499 GB, free: 7.867 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.1395, allocations: 191.4 kB / 0.4992 GB, free: 7.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.1398, allocations: 199.3 kB / 0.4994 GB, free: 7.484 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.1398, allocations: 28 kB / 0.4994 GB, free: 7.457 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1399, allocations: 55.97 kB / 0.4995 GB, free: 7.402 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1401, allocations: 155.5 kB / 0.4996 GB, free: 7.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1402, allocations: 131.2 kB / 0.4997 GB, free: 7.121 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.1406, allocations: 386.4 kB / 0.5001 GB, free: 6.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.1406, allocations: 4 kB / 0.5001 GB, free: 6.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1406, allocations: 0 / 0.5001 GB, free: 6.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1407, allocations: 0 / 0.5001 GB, free: 6.738 MB / 362.7 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.001126/0.1418, allocations: 0.6544 MB / 0.5007 GB, free: 6.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.1418, allocations: 12.03 kB / 0.5007 GB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.019e-05/0.1419, allocations: 58.72 kB / 0.5008 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.142, allocations: 52.66 kB / 0.5009 GB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.1424, allocations: 310.4 kB / 0.5012 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.1424, allocations: 25.02 kB / 0.5012 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.1425, allocations: 24.31 kB / 0.5012 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.143, allocations: 370.4 kB / 0.5016 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.143, allocations: 3.938 kB / 0.5016 GB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.143, allocations: 12 kB / 0.5016 GB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1431, allocations: 8 kB / 0.5016 GB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.1434, allocations: 274.4 kB / 0.5018 GB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.1453, allocations: 0.9014 MB / 0.5027 GB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.1458, allocations: 310 kB / 0.503 GB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.146, allocations: 148.8 kB / 0.5032 GB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.146, allocations: 4 kB / 0.5032 GB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.1463, allocations: 247.1 kB / 0.5034 GB, free: 3.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 3.617e-06/0.1464, allocations: 0 / 0.5034 GB, free: 3.223 MB / 362.7 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.611071737483144]