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.001934/0.001934, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.09385/0.09385, allocations: 10.66 MB / 18.73 MB, free: 1.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.3 MB / 226.9 MB, free: 7.879 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.00103, allocations: 97.22 kB / 277.3 MB, free: 5.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.737e-05, allocations: 0 / 333.5 MB, free: 28.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/0.08977, allocations: 49.99 MB / 383.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3185/0.4084, allocations: 77.71 MB / 461.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4086, allocations: 76.3 kB / 461.3 MB, free: 6.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.4213, allocations: 4.739 MB / 466 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4213, allocations: 0 / 466 MB, free: 2.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.4213, allocations: 8 kB / 466 MB, free: 2.859 MB / 330.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.0009162/0.4223, allocations: 0.5988 MB / 466.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4223, allocations: 15.97 kB / 466.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.4224, allocations: 39.53 kB / 466.7 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.4229, allocations: 371.3 kB / 467.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.4229, allocations: 23.31 kB / 467.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.423, allocations: 23.98 kB / 467.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003992/0.4234, allocations: 243.6 kB / 467.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.424, allocations: 382.3 kB / 467.7 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.424, allocations: 0 / 467.7 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.424, allocations: 3.188 kB / 467.7 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.424, allocations: 12 kB / 467.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.4256, allocations: 0.9158 MB / 468.7 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.4261, allocations: 281 kB / 468.9 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.4263, allocations: 131.3 kB / 469.1 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4263, allocations: 4 kB / 469.1 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.4267, allocations: 232.9 kB / 469.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/0.4267, allocations: 0 / 469.3 MB, free: 15.99 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:307:7-307:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Sorry - Support for Discrete Equation Systems is not yet implemented) tf_TU.Y[1] tf_TU.w tf_TU.Y[2] tf_TU.Y[3] 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[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; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; 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; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: tf_TU.Y[1] tf_TU.w tf_TU.Y[2] tf_TU.Y[3] 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[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; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; 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; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7358:5-7358:89:writable] Error: Internal error Transformation module sort components failed