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.0009301/0.0009301, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001081/0.001081, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03873/0.03873, allocations: 8.624 MB / 268.9 MB, free: 4.797 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.422e-06/1.422e-06, allocations: 0 / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.521e-05, allocations: 2.312 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.1329/0.1329, allocations: 2.999 MB / 291.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1363, allocations: 2.325 MB / 293.4 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.1367, allocations: 42.75 kB / 293.5 MB, free: 17.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008901/0.1376, allocations: 417.5 kB / 293.9 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000682/0.1383, allocations: 371 kB / 294.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.14, allocations: 0.8109 MB / 295.1 MB, free: 16.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.1415, allocations: 1.137 MB / 296.2 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1418, allocations: 112.9 kB / 296.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008801/0.1426, allocations: 0.6015 MB / 296.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.1432, allocations: 408.5 kB / 297.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.1434, allocations: 64.06 kB / 297.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000659/0.1441, allocations: 342.7 kB / 297.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.1443, allocations: 267.8 kB / 298 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.1445, allocations: 240.7 kB / 298.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.1459, allocations: 0.8768 MB / 299.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1459, allocations: 0 / 299.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1459, allocations: 0 / 299.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.1459, allocations: 1.938 kB / 299.1 MB, free: 15.02 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001575/0.1475, allocations: 1.373 MB / 300.5 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1475, allocations: 10.97 kB / 300.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.1477, allocations: 119.1 kB / 300.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.1485, allocations: 0.6137 MB / 301.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.1486, allocations: 47.3 kB / 301.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.1486, allocations: 65.66 kB / 301.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.1492, allocations: 0.6011 MB / 301.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.1493, allocations: 9.75 kB / 301.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.1493, allocations: 23.92 kB / 301.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1493, allocations: 13.5 kB / 302 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.1496, allocations: 242.7 kB / 302.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1512, allocations: 1.685 MB / 303.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.1516, allocations: 355.9 kB / 304.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1517, allocations: 169.4 kB / 304.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1518, allocations: 8.75 kB / 304.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.1521, allocations: 415.4 kB / 304.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.086e-06/0.1521, allocations: 0 / 304.8 MB, free: 10.96 MB / 266.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:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7334568370133638]