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.001884/0.001884, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.002481/0.002481, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.06389/0.06389, allocations: 8.615 MB / 268.2 MB, free: 4.953 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: 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.174e-06/2.174e-06, allocations: 0 / 340.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.836e-05, allocations: 2.312 kB / 340.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002448/0.002476, allocations: 1.732 MB / 341.9 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.003423, allocations: 494.5 kB / 342.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.003545, allocations: 7.938 kB / 342.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.003735, allocations: 35.66 kB / 342.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.003852, allocations: 31.67 kB / 342.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.004658, allocations: 335.1 kB / 342.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.005114, allocations: 455 kB / 343.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.005229, allocations: 28.91 kB / 343.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.005482, allocations: 191.6 kB / 343.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.005738, allocations: 171.6 kB / 343.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.005813, allocations: 31.94 kB / 343.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.005929, allocations: 55.97 kB / 343.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.006044, allocations: 151.5 kB / 343.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.006162, allocations: 99.66 kB / 343.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.006517, allocations: 406.7 kB / 344.3 MB, free: 4.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.00652, allocations: 0 / 344.3 MB, free: 4.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006522, allocations: 4 kB / 344.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.006532, allocations: 0 / 344.3 MB, free: 4.57 MB / 266.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.001128/0.00766, allocations: 0.6506 MB / 344.9 MB, free: 3.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.007695, allocations: 8.031 kB / 345 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.007833, allocations: 72.64 kB / 345 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.008196, allocations: 301.6 kB / 345.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.008219, allocations: 29 kB / 345.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.008278, allocations: 28.33 kB / 345.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.008816, allocations: 370.4 kB / 345.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.008832, allocations: 192 / 345.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.008867, allocations: 8.375 kB / 345.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.008874, allocations: 8.375 kB / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.009271, allocations: 282.4 kB / 346 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01074, allocations: 0.828 MB / 346.9 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.01126, allocations: 303 kB / 347.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.01146, allocations: 136.8 kB / 347.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.01148, allocations: 4.5 kB / 347.3 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.01183, allocations: 259.1 kB / 347.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.01183, allocations: 0 / 347.5 MB, free: 1.203 MB / 266.7 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:7987:5-7987:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.252558092935942]