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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007735/0.0007735, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009807/0.001754, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007377/0.0007377, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009217/0.001659, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9696/0.9696, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09744/1.067, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03657/0.03657, allocations: 8.612 MB / 252.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006347/0.04291, allocations: 3.129 MB / 255.9 MB, free: 3.488 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") translateModel(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.317e-05, allocations: 5.406 kB / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.002156/0.002179, allocations: 1.809 MB / 259 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007535/0.002933, allocations: 0.503 MB / 259.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.003029, allocations: 3.938 kB / 259.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.003145, allocations: 31.72 kB / 259.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.003226, allocations: 39.61 kB / 259.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.003894, allocations: 327.2 kB / 259.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.004375, allocations: 447.1 kB / 260.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.004496, allocations: 38.75 kB / 260.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.004766, allocations: 215.5 kB / 260.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.005007, allocations: 175.6 kB / 260.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.005052, allocations: 32 kB / 260.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.005176, allocations: 51.98 kB / 260.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.005282, allocations: 131.6 kB / 261 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.005358, allocations: 67.81 kB / 261 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.005649, allocations: 275 kB / 261.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.766e-05/0.005667, allocations: 0 / 261.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005668, allocations: 0 / 261.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.005681, allocations: 0 / 261.3 MB, free: 14.07 MB / 266.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.0008975/0.006579, allocations: 0.6528 MB / 261.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.006616, allocations: 8.031 kB / 262 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.006701, allocations: 44.89 kB / 262 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.006961, allocations: 257.6 kB / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.006979, allocations: 21.02 kB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.007018, allocations: 28.36 kB / 262.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.007295, allocations: 234 kB / 262.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.007307, allocations: 192 / 262.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.007328, allocations: 16.36 kB / 262.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.007335, allocations: 8.375 kB / 262.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.007447, allocations: 80.42 kB / 262.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000815/0.008262, allocations: 0.5646 MB / 263.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/0.008806, allocations: 192.8 kB / 263.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/0.008877, allocations: 44.84 kB / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.008887, allocations: 4 kB / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.009077, allocations: 166 kB / 263.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.009079, allocations: 0 / 263.6 MB, free: 11.66 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:567:7-567: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.4496261160820723]