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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.001081, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05682/0.05682, allocations: 10.75 MB / 27.48 MB, free: 1.879 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 235.7 MB, free: 11.74 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 98.3 kB / 285.5 MB, free: 12.86 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 56.14 kB / 345.3 MB, free: 0.9844 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2113, allocations: 49.01 MB / 394.3 MB, free: 35.58 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.00274/0.214, allocations: 1.817 MB / 396.1 MB, free: 33.75 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008876/0.215, allocations: 0.5047 MB / 396.6 MB, free: 33.25 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2151, allocations: 0 / 396.6 MB, free: 33.25 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.2153, allocations: 27.78 kB / 396.6 MB, free: 33.22 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 9.22e-05/0.2154, allocations: 23.81 kB / 396.7 MB, free: 33.2 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.216, allocations: 227.6 kB / 396.9 MB, free: 32.97 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.2165, allocations: 0.4952 MB / 397.4 MB, free: 32.48 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2166, allocations: 36.72 kB / 397.4 MB, free: 32.45 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.2168, allocations: 171.4 kB / 397.6 MB, free: 32.28 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.2171, allocations: 187.3 kB / 397.8 MB, free: 32.09 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.2171, allocations: 16 kB / 397.8 MB, free: 32.08 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2173, allocations: 43.97 kB / 397.8 MB, free: 32.04 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2174, allocations: 139.7 kB / 398 MB, free: 31.9 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2175, allocations: 154.9 kB / 398.1 MB, free: 31.75 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.2178, allocations: 362.7 kB / 398.5 MB, free: 31.39 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2178, allocations: 0 / 398.5 MB, free: 31.39 MB / 298.8 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2178, allocations: 0 / 398.5 MB, free: 31.39 MB / 298.8 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.2178, allocations: 0 / 398.5 MB, free: 31.39 MB / 298.8 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.001072/0.2189, allocations: 0.7359 MB / 399.2 MB, free: 30.6 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2189, allocations: 8.031 kB / 399.2 MB, free: 30.59 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.219, allocations: 52.36 kB / 399.3 MB, free: 30.54 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2194, allocations: 360 kB / 399.6 MB, free: 30.15 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2195, allocations: 24.88 kB / 399.6 MB, free: 30.12 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.2195, allocations: 28.36 kB / 399.7 MB, free: 30.09 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.22, allocations: 365.2 kB / 400 MB, free: 29.73 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.22, allocations: 4.094 kB / 400 MB, free: 29.73 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.22, allocations: 15.92 kB / 400 MB, free: 29.71 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.2201, allocations: 8 kB / 400.1 MB, free: 29.71 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.2204, allocations: 270.1 kB / 400.3 MB, free: 29.44 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.2219, allocations: 0.9823 MB / 401.3 MB, free: 28.41 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.2224, allocations: 315.1 kB / 401.6 MB, free: 28.09 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2226, allocations: 148.8 kB / 401.8 MB, free: 27.94 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2227, allocations: 4 kB / 401.8 MB, free: 27.94 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.223, allocations: 267 kB / 402 MB, free: 27.66 MB / 298.8 MB Notification: Performance of pre-optimization done (n=32): time 2.375e-06/0.223, allocations: 0 / 402 MB, free: 27.66 MB / 298.8 MB [/var/lib/jenkins/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[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; 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@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[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; 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@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed