Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008356/0.0008356, allocations: 178.5 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05548/0.05548, allocations: 10.98 MB / 27.16 MB, free: 1.73 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 225.7 MB / 256 MB, free: 1.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008169/0.0008169, allocations: 98.44 kB / 309.7 MB, free: 2.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002698, allocations: 8 kB / 373.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2148, allocations: 52.83 MB / 426.1 MB, free: 49.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.001471/0.2163, allocations: 1.424 MB / 427.5 MB, free: 49.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.2171, allocations: 0.6306 MB / 428.1 MB, free: 49.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.2172, allocations: 1.594 kB / 428.1 MB, free: 49.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2173, allocations: 30.94 kB / 428.1 MB, free: 49.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.2174, allocations: 24.77 kB / 428.2 MB, free: 49.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.2179, allocations: 224.7 kB / 428.4 MB, free: 49.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.2183, allocations: 0.498 MB / 428.9 MB, free: 49.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2184, allocations: 38.11 kB / 428.9 MB, free: 49.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.2185, allocations: 165.8 kB / 429.1 MB, free: 49.13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.2188, allocations: 177.4 kB / 429.3 MB, free: 49.1 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.2188, allocations: 16.78 kB / 429.3 MB, free: 49.1 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.2189, allocations: 39.88 kB / 429.3 MB, free: 49.1 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.219, allocations: 141.4 kB / 429.4 MB, free: 49.08 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2191, allocations: 184.9 kB / 429.6 MB, free: 48.99 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2194, allocations: 348.8 kB / 430 MB, free: 48.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2194, allocations: 1.75 kB / 430 MB, free: 48.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2194, allocations: 3.531 kB / 430 MB, free: 48.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2194, allocations: 0 / 430 MB, free: 48.93 MB / 346.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.0008505/0.2203, allocations: 0.6497 MB / 430.6 MB, free: 48.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.2203, allocations: 9.438 kB / 430.6 MB, free: 48.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.2204, allocations: 47.2 kB / 430.7 MB, free: 48.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.2207, allocations: 365.6 kB / 431 MB, free: 48.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2207, allocations: 22.78 kB / 431.1 MB, free: 48.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.2208, allocations: 32.77 kB / 431.1 MB, free: 48.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.2213, allocations: 367.9 kB / 431.4 MB, free: 48.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2213, allocations: 1.953 kB / 431.4 MB, free: 48.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2214, allocations: 18 kB / 431.5 MB, free: 48.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2214, allocations: 5.938 kB / 431.5 MB, free: 48.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.2218, allocations: 279.6 kB / 431.7 MB, free: 48.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.2232, allocations: 0.9787 MB / 432.7 MB, free: 47.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.2237, allocations: 321.8 kB / 433 MB, free: 47.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.2239, allocations: 150.8 kB / 433.2 MB, free: 47.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.2239, allocations: 3.219 kB / 433.2 MB, free: 47.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.2243, allocations: 266.5 kB / 433.4 MB, free: 47.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.2243, allocations: 0 / 433.4 MB, free: 47.74 MB / 346.7 MB [/var/lib/jenkins/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[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/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7946:5-7946:89:writable] Error: Internal error Transformation module sort components failed