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.001613/0.001613, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001267/0.001267, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.016/1.016, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.03936/0.03936, allocations: 8.62 MB / 269.7 MB, free: 4.77 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 1.774e-06/1.774e-06, allocations: 0 / 342.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.481e-05, allocations: 2.312 kB / 342.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002204/0.002229, allocations: 1.751 MB / 343.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007938/0.003022, allocations: 490.5 kB / 344.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.003105, allocations: 4 kB / 344.3 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.003282, allocations: 39.64 kB / 344.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.003365, allocations: 35.61 kB / 344.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.003956, allocations: 327.2 kB / 344.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.004308, allocations: 454.9 kB / 345.2 MB, free: 6.105 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.004413, allocations: 24.92 kB / 345.2 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.004587, allocations: 191.6 kB / 345.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.004797, allocations: 179.5 kB / 345.6 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.004839, allocations: 24 kB / 345.6 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.181e-05/0.004931, allocations: 63.91 kB / 345.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.005042, allocations: 147.5 kB / 345.8 MB, free: 5.492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.663e-05/0.005139, allocations: 107.7 kB / 345.9 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.005449, allocations: 310.9 kB / 346.2 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005451, allocations: 0 / 346.2 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005452, allocations: 0 / 346.2 MB, free: 5.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005458, allocations: 0 / 346.2 MB, free: 5.082 MB / 314.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.0007355/0.006193, allocations: 0.7309 MB / 346.9 MB, free: 4.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.006227, allocations: 8.031 kB / 346.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.006311, allocations: 68.64 kB / 347 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.006588, allocations: 280.4 kB / 347.3 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.006608, allocations: 25 kB / 347.3 MB, free: 3.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.006652, allocations: 28.38 kB / 347.3 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.006924, allocations: 223.2 kB / 347.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.006935, allocations: 192 / 347.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.006956, allocations: 16.36 kB / 347.6 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.006963, allocations: 8.375 kB / 347.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.007085, allocations: 92.39 kB / 347.7 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.007946, allocations: 0.7184 MB / 348.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.008221, allocations: 163 kB / 348.5 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.0083, allocations: 60.02 kB / 348.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.00831, allocations: 4 kB / 348.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.008503, allocations: 168.8 kB / 348.8 MB, free: 2.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.008505, allocations: 0 / 348.8 MB, free: 2.379 MB / 314.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:8083:5-8083:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8099859561771154]