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.0009732/0.0009731, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.987/1.987, allocations: 205.4 MB / 223.1 MB, free: 5.445 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05723/0.05723, allocations: 10.73 MB / 282.1 MB, free: 10.45 MB / 238.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.0005083/0.0005084, allocations: 16.2 kB / 342.9 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 50.01 MB / 392.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002206/0.1229, allocations: 1.467 MB / 394.4 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1241, allocations: 0.4986 MB / 394.9 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.1242, allocations: 3.938 kB / 394.9 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.1244, allocations: 27.78 kB / 394.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1245, allocations: 15.88 kB / 394.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/0.1253, allocations: 235.5 kB / 395.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006411/0.1259, allocations: 0.4991 MB / 395.6 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1261, allocations: 28.73 kB / 395.7 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.1263, allocations: 163.4 kB / 395.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.1266, allocations: 191.2 kB / 396 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.1267, allocations: 12 kB / 396 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1268, allocations: 43.98 kB / 396.1 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.127, allocations: 131.7 kB / 396.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.1272, allocations: 184.7 kB / 396.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1276, allocations: 275.3 kB / 396.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1276, allocations: 0 / 396.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1277, allocations: 0 / 396.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1277, allocations: 4 kB / 396.6 MB, free: 1.645 MB / 286.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.00142/0.1291, allocations: 0.6446 MB / 397.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1291, allocations: 8.031 kB / 397.3 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.1292, allocations: 48.38 kB / 397.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.1298, allocations: 363.9 kB / 397.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.47e-05/0.1298, allocations: 24.92 kB / 397.7 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.1299, allocations: 24.38 kB / 397.7 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.1306, allocations: 373.2 kB / 398.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1306, allocations: 192 / 398.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.1306, allocations: 15.94 kB / 398.1 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1307, allocations: 4 kB / 398.1 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.1312, allocations: 282 kB / 398.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.1332, allocations: 0.9939 MB / 399.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.1338, allocations: 318.5 kB / 399.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1341, allocations: 152.8 kB / 399.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1341, allocations: 4 kB / 399.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004997/0.1346, allocations: 255.1 kB / 400.1 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.1346, allocations: 0 / 400.1 MB, free: 14 MB / 302.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[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/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[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/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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed