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.0008773/0.0008773, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002043, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007745/0.0007745, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.001957, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.105/1.105, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1395/1.245, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.03959/0.03959, allocations: 8.616 MB / 252.6 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008096/0.04768, allocations: 3.124 MB / 255.7 MB, free: 3.605 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.793e-06/1.793e-06, allocations: 0 / 257 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.392e-05, allocations: 2.312 kB / 257 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.00256/0.002594, allocations: 1.801 MB / 258.8 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007531/0.003347, allocations: 0.4945 MB / 259.3 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.00343, allocations: 0 / 259.3 MB, free: 24 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.003584, allocations: 47.69 kB / 259.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.003666, allocations: 31.61 kB / 259.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.004328, allocations: 315.1 kB / 259.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.00478, allocations: 447.1 kB / 260.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.004924, allocations: 38.8 kB / 260.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.005193, allocations: 215.6 kB / 260.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.005432, allocations: 175.6 kB / 260.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.005478, allocations: 28 kB / 260.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.005611, allocations: 59.91 kB / 260.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.00572, allocations: 123.7 kB / 260.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.005803, allocations: 67.75 kB / 260.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.006112, allocations: 271.1 kB / 261 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.006128, allocations: 0 / 261 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006129, allocations: 3.938 kB / 261 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.00615, allocations: 0 / 261 MB, free: 14.23 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.000947/0.007097, allocations: 0.6527 MB / 261.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.007136, allocations: 8.031 kB / 261.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/0.007216, allocations: 48.89 kB / 261.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.007498, allocations: 253.7 kB / 262 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.007519, allocations: 24.95 kB / 262 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.007566, allocations: 32.36 kB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.007866, allocations: 230 kB / 262.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.007879, allocations: 192 / 262.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.007902, allocations: 12.36 kB / 262.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.00791, allocations: 4.375 kB / 262.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.008026, allocations: 76.5 kB / 262.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.008964, allocations: 0.5802 MB / 263 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.009242, allocations: 177.9 kB / 263.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.009307, allocations: 52.81 kB / 263.2 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.009319, allocations: 4 kB / 263.2 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.009526, allocations: 170 kB / 263.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.009528, allocations: 0 / 263.3 MB, free: 11.82 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6744847716763616]