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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 105.8 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0549/0.0549, allocations: 10.73 MB / 281.3 MB, free: 1.293 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.77 kB / 391.5 MB, free: 45.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05987/0.06119, allocations: 49.03 MB / 440.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002136/0.06337, allocations: 1.763 MB / 442.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.06416, allocations: 0.4908 MB / 442.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.06427, allocations: 0 / 442.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.06442, allocations: 35.66 kB / 442.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.06452, allocations: 35.67 kB / 442.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.06507, allocations: 243.5 kB / 443.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.06545, allocations: 0.5343 MB / 443.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.06557, allocations: 36.69 kB / 443.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.06575, allocations: 187.4 kB / 443.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.06597, allocations: 191.3 kB / 444 MB, free: 316 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.06603, allocations: 31.94 kB / 444.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.06614, allocations: 51.97 kB / 444.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.06625, allocations: 159.5 kB / 444.3 MB, free: 72 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.06641, allocations: 171 kB / 444.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.06679, allocations: 378.8 kB / 444.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.0668, allocations: 0 / 444.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.06681, allocations: 0 / 444.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.06682, allocations: 0 / 444.8 MB, free: 15.53 MB / 334.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.001143/0.06797, allocations: 0.7221 MB / 445.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.06801, allocations: 15.89 kB / 445.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.06812, allocations: 44.45 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.06857, allocations: 363.9 kB / 445.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.0686, allocations: 24.92 kB / 446 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.06866, allocations: 24.36 kB / 446 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.06924, allocations: 369.2 kB / 446.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.06927, allocations: 192 / 446.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.06931, allocations: 19.92 kB / 446.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.06932, allocations: 4 kB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.06979, allocations: 274.1 kB / 446.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.07147, allocations: 0.9861 MB / 447.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.07204, allocations: 318.8 kB / 447.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.07228, allocations: 152.7 kB / 448.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.0723, allocations: 0 / 448.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.07267, allocations: 263.1 kB / 448.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.07268, allocations: 0 / 448.3 MB, free: 11.82 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed