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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 90] 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.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: translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00908/0.009079, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002142/0.002142, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06283/0.06283, allocations: 11.18 MB / 301.7 MB, free: 4.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 59.73 kB / 417.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09497, allocations: 51.99 MB / 469.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003039/0.09805, allocations: 1.768 MB / 471.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.09916, allocations: 0.4947 MB / 472.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.09925, allocations: 0 / 472.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.09944, allocations: 35.66 kB / 472.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.199e-05/0.09955, allocations: 35.67 kB / 472.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.1002, allocations: 243.5 kB / 472.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.1009, allocations: 0.5381 MB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.101, allocations: 32.73 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1013, allocations: 187.5 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.1016, allocations: 191.3 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.1016, allocations: 28 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1018, allocations: 51.97 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.1019, allocations: 155.6 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1021, allocations: 167 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.1026, allocations: 390.4 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1026, allocations: 0 / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1026, allocations: 0 / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1026, allocations: 4 kB / 474.1 MB, free: 10.27 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.001308/0.1039, allocations: 0.7296 MB / 474.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.104, allocations: 11.89 kB / 474.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.1041, allocations: 48.64 kB / 474.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.1046, allocations: 368.2 kB / 475.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1046, allocations: 16.94 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.1047, allocations: 36.3 kB / 475.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.1054, allocations: 369.2 kB / 475.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1054, allocations: 4.125 kB / 475.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.1054, allocations: 19.92 kB / 475.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1054, allocations: 4 kB / 475.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.106, allocations: 270.1 kB / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.1077, allocations: 0.9864 MB / 476.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.1084, allocations: 319.3 kB / 477.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.1087, allocations: 148.8 kB / 477.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1087, allocations: 4 kB / 477.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.1091, allocations: 267.1 kB / 477.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.1092, allocations: 0 / 477.6 MB, free: 6.539 MB / 350.1 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed