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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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.08009/0.08009, allocations: 11.34 MB / 317.6 MB, free: 13.77 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=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 0.001983/0.001983, allocations: 72.12 kB / 443 MB, free: 6.426 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1281, allocations: 54.87 MB / 497.9 MB, free: 15.45 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction): time 0.00352/0.1316, allocations: 1.797 MB / 499.7 MB, free: 13.63 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001153/0.1328, allocations: 0.5024 MB / 0.4885 GB, free: 13.13 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.1329, allocations: 4 kB / 0.4885 GB, free: 13.12 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.1331, allocations: 35.66 kB / 0.4885 GB, free: 13.09 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.1332, allocations: 35.67 kB / 0.4885 GB, free: 13.05 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008964/0.1341, allocations: 287.4 kB / 0.4888 GB, free: 12.77 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001094/0.1352, allocations: 0.6083 MB / 0.4894 GB, free: 12.16 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1354, allocations: 24.94 kB / 0.4894 GB, free: 12.14 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.1357, allocations: 195.4 kB / 0.4896 GB, free: 11.95 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.1361, allocations: 199.3 kB / 0.4898 GB, free: 11.75 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.1362, allocations: 31.94 kB / 0.4898 GB, free: 11.72 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.1363, allocations: 55.97 kB / 0.4899 GB, free: 11.66 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.1366, allocations: 155.6 kB / 0.4901 GB, free: 11.51 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.1368, allocations: 159 kB / 0.4902 GB, free: 11.36 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.1374, allocations: 390.3 kB / 0.4906 GB, free: 10.97 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1374, allocations: 0 / 0.4906 GB, free: 10.97 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.774e-06/0.1374, allocations: 0 / 0.4906 GB, free: 10.97 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.437e-06/0.1374, allocations: 0 / 0.4906 GB, free: 10.97 MB / 366.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.001459/0.1388, allocations: 0.6544 MB / 0.4912 GB, free: 10.29 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1389, allocations: 8.031 kB / 0.4912 GB, free: 10.28 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.139, allocations: 48.66 kB / 0.4913 GB, free: 10.23 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.1396, allocations: 310.3 kB / 0.4916 GB, free: 9.902 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.1396, allocations: 21.02 kB / 0.4916 GB, free: 9.879 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.1397, allocations: 24.38 kB / 0.4916 GB, free: 9.855 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.1405, allocations: 370.4 kB / 0.492 GB, free: 9.488 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1405, allocations: 192 / 0.492 GB, free: 9.488 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.1405, allocations: 15.94 kB / 0.492 GB, free: 9.473 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1406, allocations: 8 kB / 0.492 GB, free: 9.465 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.1411, allocations: 278.4 kB / 0.4922 GB, free: 9.195 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.143, allocations: 0.9638 MB / 0.4932 GB, free: 8.184 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.1437, allocations: 296.4 kB / 0.4935 GB, free: 7.887 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.144, allocations: 140.8 kB / 0.4936 GB, free: 7.746 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.144, allocations: 0 / 0.4936 GB, free: 7.746 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004728/0.1444, allocations: 263.1 kB / 0.4939 GB, free: 7.477 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.1444, allocations: 0 / 0.4939 GB, free: 7.477 MB / 366.1 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[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: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[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: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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 2.791670287027955]
Failed to read output from testmodel.py, exit status != 0:
0.1535399593412876 0.16859031699999996 0.028139128000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4ce7c617b0>