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.001159/0.001159, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001211/0.001211, allocations: 173 kB / 23.49 MB, free: 1.062 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.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.03702/0.03702, allocations: 8.622 MB / 268.9 MB, free: 4.984 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: 3.984 kB / 340.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.975e-05, allocations: 6.25 kB / 340.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.001829/0.001849, allocations: 1.774 MB / 342.7 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.002637, allocations: 486.5 kB / 343.1 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.002722, allocations: 8 kB / 343.1 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.002896, allocations: 39.64 kB / 343.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.00297, allocations: 31.67 kB / 343.2 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.003579, allocations: 327.2 kB / 343.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.003891, allocations: 451 kB / 344 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004001, allocations: 28.89 kB / 344 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.004144, allocations: 203.5 kB / 344.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.004325, allocations: 171.6 kB / 344.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.00436, allocations: 28 kB / 344.4 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.894e-05/0.004439, allocations: 51.97 kB / 344.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.004521, allocations: 155.5 kB / 344.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.004598, allocations: 99.66 kB / 344.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.004842, allocations: 310.9 kB / 345 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.004844, allocations: 0 / 345 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004844, allocations: 0 / 345 MB, free: 4.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.00485, allocations: 4 kB / 345 MB, free: 4.598 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.0006775/0.005527, allocations: 0.7505 MB / 345.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.005562, allocations: 12.03 kB / 345.8 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.005646, allocations: 72.64 kB / 345.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.005885, allocations: 280.4 kB / 346.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.0059, allocations: 21.02 kB / 346.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.005938, allocations: 32.33 kB / 346.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.006214, allocations: 243.2 kB / 346.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.006228, allocations: 4.188 kB / 346.4 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.006251, allocations: 12.36 kB / 346.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.006261, allocations: 8.375 kB / 346.4 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.006422, allocations: 115.8 kB / 346.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.007265, allocations: 0.7961 MB / 347.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.007549, allocations: 178.9 kB / 347.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.00764, allocations: 67.73 kB / 347.6 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.00765, allocations: 4.5 kB / 347.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.00783, allocations: 189.2 kB / 347.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.007831, allocations: 0 / 347.8 MB, free: 1.695 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7173273069784045]