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.001256/0.001256, allocations: 78.33 kB / 19.18 MB, free: 2.527 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.001876/0.001876, allocations: 170.3 kB / 22.46 MB, free: 5.355 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.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.09741/0.09741, allocations: 8.607 MB / 267.8 MB, free: 8.574 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: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 395.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.643e-05/3.849e-05, allocations: 6.219 kB / 395.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.003357/0.003396, allocations: 1.719 MB / 397.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004616, allocations: 0.4907 MB / 397.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.004722, allocations: 7.938 kB / 397.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.004952, allocations: 31.72 kB / 397.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.005077, allocations: 35.61 kB / 397.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009736/0.00605, allocations: 327.2 kB / 398.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.006667, allocations: 458.9 kB / 398.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.006803, allocations: 24.92 kB / 398.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.007086, allocations: 203.4 kB / 398.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.007403, allocations: 171.6 kB / 399 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.007467, allocations: 31.94 kB / 399 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.0076, allocations: 51.97 kB / 399.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.00779, allocations: 159.5 kB / 399.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.00795, allocations: 99.66 kB / 399.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.008494, allocations: 398.8 kB / 399.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.008496, allocations: 0 / 399.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.008497, allocations: 0 / 399.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.008504, allocations: 0 / 399.7 MB, free: 2.504 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.0015/0.01, allocations: 0.6583 MB / 400.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.01005, allocations: 8.031 kB / 400.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.01017, allocations: 48.64 kB / 400.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.01069, allocations: 293.7 kB / 400.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.01072, allocations: 25.02 kB / 400.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.01079, allocations: 24.38 kB / 400.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.01146, allocations: 378.4 kB / 401.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.01147, allocations: 4.125 kB / 401.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.01151, allocations: 12.36 kB / 401.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.01152, allocations: 8.375 kB / 401.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.01204, allocations: 274.4 kB / 401.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.01377, allocations: 0.8241 MB / 402.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.01442, allocations: 302.4 kB / 402.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.01469, allocations: 141.2 kB / 402.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.0147, allocations: 4 kB / 402.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.01513, allocations: 255.2 kB / 403 MB, free: 15.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.01513, allocations: 0 / 403 MB, free: 15.16 MB / 334.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4734544195234776] Failed to read output from testmodel.py, exit status != 0: 0.024922076612710953 0.040910924 0.029176905000000003 Calling exit ...