Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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.001029/0.001029, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001489/0.001489, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.9546/0.9546, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.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.03802/0.03802, allocations: 8.616 MB / 268.9 MB, free: 4.992 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.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 340.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.549e-05, allocations: 10.31 kB / 340.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.002812/0.002837, allocations: 2.996 MB / 343.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.005386, allocations: 2.277 MB / 346.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.005686, allocations: 43.56 kB / 346.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.006444, allocations: 422 kB / 346.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.00694, allocations: 378.1 kB / 347 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.008084, allocations: 0.8339 MB / 347.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007378/0.008821, allocations: 1.139 MB / 349 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.009023, allocations: 105.5 kB / 349.1 MB, free: 492 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004995/0.009523, allocations: 0.6041 MB / 349.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.009948, allocations: 418.9 kB / 350.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.016e-05/0.01003, allocations: 64 kB / 350.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.0105, allocations: 315.5 kB / 350.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.01073, allocations: 275 kB / 350.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.01095, allocations: 235.7 kB / 350.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008589/0.01181, allocations: 0.8796 MB / 351.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.01181, allocations: 0 / 351.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01181, allocations: 0 / 351.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.01182, allocations: 0 / 351.8 MB, free: 13.71 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001615/0.01344, allocations: 1.538 MB / 353.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.01347, allocations: 8.031 kB / 353.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.01368, allocations: 164.2 kB / 353.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.01459, allocations: 0.6805 MB / 354.2 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.01465, allocations: 45.67 kB / 354.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.01473, allocations: 68.33 kB / 354.3 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/0.01552, allocations: 0.6611 MB / 355 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.01554, allocations: 7.875 kB / 355 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.01559, allocations: 31.98 kB / 355 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.0156, allocations: 16 kB / 355 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.01603, allocations: 305.1 kB / 355.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.01853, allocations: 2.54 MB / 357.9 MB, free: 7.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.01908, allocations: 384.6 kB / 358.3 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.01934, allocations: 212.6 kB / 358.5 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.01937, allocations: 12.5 kB / 358.5 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004981/0.01987, allocations: 447.6 kB / 358.9 MB, free: 6.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 3.556e-06/0.01987, allocations: 0 / 358.9 MB, free: 6.27 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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.) R.satin R.cs R.satDiff R.Iaction when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R.satin R.cs R.satDiff R.Iaction equations: when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6483014670666307]