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.00182/0.00182, allocations: 78.02 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002136/0.002136, allocations: 160.1 kB / 23.01 MB, free: 4.945 MB / 14.72 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.498/1.498, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] 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.06225/0.06225, allocations: 8.607 MB / 268.4 MB, free: 8.504 MB / 254.1 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: translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") [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.003401/0.003401, allocations: 63.91 kB / 396.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1387, allocations: 56.05 MB / 452.1 MB, free: 15.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.004288/0.143, allocations: 1.731 MB / 453.9 MB, free: 14.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1442, allocations: 490.7 kB / 454.3 MB, free: 13.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1444, allocations: 0 / 454.3 MB, free: 13.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.1446, allocations: 39.64 kB / 454.4 MB, free: 13.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1447, allocations: 35.67 kB / 454.4 MB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009957/0.1457, allocations: 275.4 kB / 454.7 MB, free: 13.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.1469, allocations: 0.5966 MB / 455.3 MB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1471, allocations: 20.92 kB / 455.3 MB, free: 12.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.1476, allocations: 191.4 kB / 455.5 MB, free: 12.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.1481, allocations: 203.2 kB / 455.7 MB, free: 12.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.066e-05/0.1482, allocations: 24 kB / 455.7 MB, free: 12.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1483, allocations: 55.97 kB / 455.8 MB, free: 12.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.1486, allocations: 155.6 kB / 455.9 MB, free: 11.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.1488, allocations: 139.1 kB / 456 MB, free: 11.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.1495, allocations: 378.5 kB / 456.4 MB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1495, allocations: 3.938 kB / 456.4 MB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.1495, allocations: 3.984 kB / 456.4 MB, free: 11.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.1495, allocations: 0 / 456.4 MB, free: 11.44 MB / 430.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.001581/0.1511, allocations: 0.6506 MB / 457.1 MB, free: 10.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1512, allocations: 12.03 kB / 457.1 MB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.1513, allocations: 44.66 kB / 457.1 MB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.1521, allocations: 310.2 kB / 457.4 MB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1521, allocations: 21.03 kB / 457.4 MB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.583e-05/0.1522, allocations: 36.31 kB / 457.5 MB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.1529, allocations: 366.5 kB / 457.8 MB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1529, allocations: 192 / 457.8 MB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.153, allocations: 15.92 kB / 457.9 MB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.153, allocations: 4 kB / 457.9 MB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.1535, allocations: 278.4 kB / 458.1 MB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.1556, allocations: 0.8202 MB / 459 MB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.1563, allocations: 302.5 kB / 459.2 MB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.1565, allocations: 140.8 kB / 459.4 MB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1566, allocations: 8 kB / 459.4 MB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.157, allocations: 259.1 kB / 459.6 MB, free: 8.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 3.106e-06/0.157, allocations: 0 / 459.6 MB, free: 8.086 MB / 430.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:8032:5-8032:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.659445389988832] Failed to read output from testmodel.py, exit status != 0: 0.1698363620089367 0.185532007 0.032391061 Calling exit ...