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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06021/0.06021, allocations: 11.34 MB / 314.7 MB, free: 0.8359 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001902/0.001902, allocations: 63.91 kB / 438.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2771, allocations: 54.83 MB / 493.3 MB, free: 24.08 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002541/0.2797, allocations: 1.774 MB / 495.1 MB, free: 22.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.2806, allocations: 0.4996 MB / 495.6 MB, free: 22.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.2806, allocations: 6.438 kB / 495.6 MB, free: 22.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.2808, allocations: 38.34 kB / 495.6 MB, free: 22.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.2808, allocations: 36.16 kB / 495.7 MB, free: 22.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.2814, allocations: 248.4 kB / 495.9 MB, free: 22.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000535/0.2819, allocations: 0.5309 MB / 496.4 MB, free: 22.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.282, allocations: 23.16 kB / 496.5 MB, free: 22.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.2823, allocations: 190.8 kB / 496.7 MB, free: 22.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.2826, allocations: 200.6 kB / 496.9 MB, free: 21.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.2826, allocations: 31.41 kB / 496.9 MB, free: 21.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.2828, allocations: 51.92 kB / 496.9 MB, free: 21.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.2829, allocations: 152.4 kB / 497.1 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.2831, allocations: 163.9 kB / 497.2 MB, free: 21.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.2834, allocations: 386.6 kB / 497.6 MB, free: 21.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2835, allocations: 0.9062 kB / 497.6 MB, free: 21.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2835, allocations: 0 / 497.6 MB, free: 21.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2835, allocations: 0 / 497.6 MB, free: 21.61 MB / 366.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.001031/0.2845, allocations: 0.7352 MB / 498.4 MB, free: 20.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2845, allocations: 13.08 kB / 498.4 MB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.2846, allocations: 44.22 kB / 498.4 MB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.285, allocations: 369.8 kB / 498.8 MB, free: 20.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.285, allocations: 27.05 kB / 498.8 MB, free: 20.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.2851, allocations: 27.44 kB / 498.8 MB, free: 20.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.2856, allocations: 372.4 kB / 499.2 MB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2857, allocations: 1.344 kB / 499.2 MB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.2857, allocations: 18.14 kB / 499.2 MB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2857, allocations: 6.844 kB / 499.2 MB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.2862, allocations: 271 kB / 499.5 MB, free: 20.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.2877, allocations: 0.9909 MB / 0.4887 GB, free: 19.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.2882, allocations: 305.6 kB / 0.489 GB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.2884, allocations: 133.8 kB / 0.4892 GB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2884, allocations: 7.422 kB / 0.4892 GB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.2888, allocations: 265.8 kB / 0.4894 GB, free: 19.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.2888, allocations: 0 / 0.4894 GB, free: 19.12 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332: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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.585546486079693] Failed to read output from testmodel.py, exit status != 0: 0.2968646411318332 0.30741625699999997 0.021599941 Calling exit ...