Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_basic.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.0009355/0.0009355, allocations: 73.89 kB / 20.67 MB, free: 3.828 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.001601/0.001601, allocations: 177 kB / 24.08 MB, free: 428 kB / 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.027/1.027, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06511/0.06511, allocations: 18.13 MB / 279.2 MB, free: 11.16 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 358.6 MB, free: 7.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.439e-05, allocations: 2.312 kB / 358.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.006618/0.006642, allocations: 1.866 MB / 360.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003717/0.007014, allocations: 187.3 kB / 360.6 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.0071, allocations: 3.938 kB / 360.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.007221, allocations: 39.55 kB / 360.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.007283, allocations: 11.81 kB / 360.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.007474, allocations: 95.84 kB / 360.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.00771, allocations: 244.7 kB / 361 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.007829, allocations: 40.56 kB / 361.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.007911, allocations: 79.8 kB / 361.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.008007, allocations: 63.72 kB / 361.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.00804, allocations: 20 kB / 361.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.008066, allocations: 20 kB / 361.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.008109, allocations: 55.8 kB / 361.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.008163, allocations: 55.83 kB / 361.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.008333, allocations: 147.4 kB / 361.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.008335, allocations: 0 / 361.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.008336, allocations: 3.938 kB / 361.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.00834, allocations: 0 / 361.5 MB, free: 4.805 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005959/0.008936, allocations: 0.5352 MB / 362 MB, free: 4.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.008966, allocations: 8.922 kB / 362 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.009037, allocations: 44.8 kB / 362.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.009251, allocations: 184.9 kB / 362.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.009278, allocations: 20.88 kB / 362.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.009318, allocations: 28.36 kB / 362.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.009581, allocations: 216.4 kB / 362.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.00959, allocations: 192 / 362.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.009606, allocations: 4.375 kB / 362.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.009615, allocations: 8.375 kB / 362.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.009739, allocations: 84.91 kB / 362.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.01084, allocations: 1.099 MB / 363.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.014, allocations: 99.03 kB / 363.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.01406, allocations: 47.66 kB / 363.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.01409, allocations: 4 kB / 363.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.01411, allocations: 45.33 kB / 363.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.01411, allocations: 0 / 363.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002751/0.01439, allocations: 160.6 kB / 364.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.01442, allocations: 55.41 kB / 364.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.01456, allocations: 258.6 kB / 364.4 MB, free: 1.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.01458, allocations: 29.7 kB / 364.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.01467, allocations: 207 kB / 364.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.01472, allocations: 79.33 kB / 364.7 MB, free: 1.402 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.724e-05/0.01481, allocations: 83.25 kB / 364.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.01495, allocations: 0.5117 MB / 365.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.01501, allocations: 31.97 kB / 365.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.01513, allocations: 163.8 kB / 365.5 MB, free: 0.543 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.0154, allocations: 253.2 kB / 365.7 MB, free: 248 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.0154, allocations: 0 / 365.7 MB, free: 248 kB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003371/0.01574, allocations: 249.4 kB / 366 MB, free: 15.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01575, allocations: 4 kB / 366 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01576, allocations: 7.938 kB / 366 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.01577, allocations: 4 kB / 366 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.01598, allocations: 75.84 kB / 366.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01599, allocations: 11.94 kB / 366.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.0161, allocations: 35.77 kB / 366.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.01612, allocations: 12 kB / 366.1 MB, free: 15.84 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: P_I.y:VARIABLE(flow=false start = P_I.y_start fixed = true ) \"Connector of Real output signal\" type: Real P_E.y:VARIABLE(flow=false start = P_E.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_E.iTS,PI_I.iTS,PI_I.iNoInc,PI_I.iNoDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.01625, allocations: 180.7 kB / 366.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.01629, allocations: 27.86 kB / 366.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.01653, allocations: 177.7 kB / 366.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01653, allocations: 4 kB / 366.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01654, allocations: 7.938 kB / 366.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01654, allocations: 3.984 kB / 366.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.01683, allocations: 189.1 kB / 366.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01683, allocations: 4 kB / 366.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/0.02005, allocations: 59.91 kB / 366.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02005, allocations: 0 / 366.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.02007, allocations: 11.98 kB / 366.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02007, allocations: 0 / 366.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02008, allocations: 0 / 366.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.02045, allocations: 358.3 kB / 367.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.02047, allocations: 19.84 kB / 367.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.02049, allocations: 8 kB / 367.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.02059, allocations: 15.98 kB / 367.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.02064, allocations: 23.95 kB / 367.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.02065, allocations: 4 kB / 367.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.932e-05/0.02072, allocations: 173.3 kB / 367.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02072, allocations: 0 / 367.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.02099, allocations: 51.83 kB / 367.4 MB, free: 14.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.608e-05/0.02107, allocations: 99.25 kB / 367.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.02127, allocations: 147.4 kB / 367.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.02127, allocations: 0 / 367.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.02136, allocations: 71.58 kB / 367.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.02161, allocations: 31.92 kB / 367.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.02222, allocations: 494.7 kB / 368.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.457e-05/0.02227, allocations: 80.33 kB / 368.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.14e-05/0.02236, allocations: 26.28 kB / 368.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.02246, allocations: 102.2 kB / 368.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.02246, allocations: 0 / 368.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Templates: time 0.006175/0.02863, allocations: 2.246 MB / 370.7 MB, free: 11.16 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_basic.sim & (cd run_cvode && ../AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 240] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic_gbode.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic_gbode.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AES_AES.Coursework.Typical_control_structures.Cascade_basic_gbode.sim & (cd run_gbode && ../AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > AES_AES.Coursework.Typical_control_structures.Cascade_basic_gbode.pipe 2>&1) [Timeout 240] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic_ida.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic_ida.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AES_AES.Coursework.Typical_control_structures.Cascade_basic_ida.sim & (cd run_ida && ../AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > AES_AES.Coursework.Typical_control_structures.Cascade_basic_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9884349340572953]