Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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.001669/0.001669, allocations: 119.6 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001953/0.001953, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08311/0.08311, allocations: 16.94 MB / 326.5 MB, free: 8.617 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 69.39 kB / 458.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1042, allocations: 57.71 MB / 0.5038 GB, free: 7.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002438/0.1066, allocations: 0.6859 MB / 0.5044 GB, free: 6.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000205/0.1068, allocations: 31.89 kB / 0.5045 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.1069, allocations: 0 / 0.5045 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.1069, allocations: 4 kB / 0.5045 GB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.107, allocations: 0 / 0.5045 GB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.1071, allocations: 15.92 kB / 0.5045 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1072, allocations: 16 kB / 0.5045 GB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.1073, allocations: 7.984 kB / 0.5045 GB, free: 6.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.1073, allocations: 4 kB / 0.5045 GB, free: 6.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.1074, allocations: 7.938 kB / 0.5045 GB, free: 6.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1074, allocations: 4 kB / 0.5045 GB, free: 6.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.1074, allocations: 0 / 0.5045 GB, free: 6.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.1075, allocations: 7.938 kB / 0.5045 GB, free: 6.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1075, allocations: 15.97 kB / 0.5045 GB, free: 6.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.1076, allocations: 11.92 kB / 0.5046 GB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1076, allocations: 4 kB / 0.5046 GB, free: 6.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1076, allocations: 0 / 0.5046 GB, free: 6.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1076, allocations: 0 / 0.5046 GB, free: 6.371 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004422/0.108, allocations: 345.2 kB / 0.5049 GB, free: 5.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1081, allocations: 8.031 kB / 0.5049 GB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1081, allocations: 4.938 kB / 0.5049 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1083, allocations: 164.4 kB / 0.5051 GB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1083, allocations: 4.359 kB / 0.5051 GB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.1083, allocations: 8.375 kB / 0.5051 GB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1084, allocations: 42.19 kB / 0.5051 GB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1084, allocations: 4.188 kB / 0.5051 GB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1085, allocations: 3.938 kB / 0.5051 GB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1085, allocations: 0 / 0.5051 GB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.1085, allocations: 12 kB / 0.5051 GB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.109, allocations: 245 kB / 0.5054 GB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1091, allocations: 34.45 kB / 0.5054 GB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.1092, allocations: 16.91 kB / 0.5054 GB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.1092, allocations: 4 kB / 0.5054 GB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1092, allocations: 30.56 kB / 0.5054 GB, free: 5.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1092, allocations: 0 / 0.5054 GB, free: 5.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002461/0.1095, allocations: 79.39 kB / 0.5055 GB, free: 5.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.1095, allocations: 89.23 kB / 0.5056 GB, free: 5.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.89e-05/0.1096, allocations: 89.86 kB / 0.5057 GB, free: 5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1096, allocations: 25.7 kB / 0.5057 GB, free: 4.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.1097, allocations: 80.14 kB / 0.5058 GB, free: 4.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1097, allocations: 11.89 kB / 0.5058 GB, free: 4.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.1097, allocations: 13.7 kB / 0.5058 GB, free: 4.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1099, allocations: 318.8 kB / 0.5061 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.1099, allocations: 4 kB / 0.5061 GB, free: 4.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.1099, allocations: 12 kB / 0.5061 GB, free: 4.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.453e-05/0.11, allocations: 76.25 kB / 0.5062 GB, free: 4.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.11, allocations: 0 / 0.5062 GB, free: 4.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.1101, allocations: 87.31 kB / 0.5063 GB, free: 4.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.1102, allocations: 33.7 kB / 0.5063 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1102, allocations: 3.938 kB / 0.5063 GB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1102, allocations: 0 / 0.5063 GB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.256e-05/0.1103, allocations: 0 / 0.5063 GB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1103, allocations: 3.938 kB / 0.5063 GB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.1103, allocations: 15.98 kB / 0.5063 GB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1103, allocations: 0 / 0.5063 GB, free: 4.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0001141/0.1104, allocations: 143.5 kB / 0.5065 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.1105, allocations: 7.938 kB / 0.5065 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.1105, allocations: 7.078 kB / 0.5065 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1105, allocations: 0 / 0.5065 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1105, allocations: 0 / 0.5065 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1105, allocations: 0 / 0.5065 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1107, allocations: 153.6 kB / 0.5066 GB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1107, allocations: 7.984 kB / 0.5067 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.1107, allocations: 4 kB / 0.5067 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1107, allocations: 0 / 0.5067 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1107, allocations: 4 kB / 0.5067 GB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1107, allocations: 0 / 0.5067 GB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1107, allocations: 0 / 0.5067 GB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.1109, allocations: 173.2 kB / 0.5068 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.111, allocations: 81.05 kB / 0.5069 GB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.111, allocations: 8.031 kB / 0.5069 GB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.111, allocations: 3.984 kB / 0.5069 GB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.1111, allocations: 12 kB / 0.5069 GB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1111, allocations: 0 / 0.5069 GB, free: 3.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.1111, allocations: 75.28 kB / 0.507 GB, free: 3.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1111, allocations: 0 / 0.507 GB, free: 3.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1114, allocations: 8 kB / 0.507 GB, free: 3.488 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001352/0.1115, allocations: 98.62 kB / 0.5071 GB, free: 3.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1117, allocations: 83.39 kB / 0.5072 GB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1117, allocations: 0 / 0.5072 GB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.55e-05/0.1117, allocations: 67.39 kB / 0.5072 GB, free: 3.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1119, allocations: 3.938 kB / 0.5072 GB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.1122, allocations: 104.8 kB / 0.5073 GB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1126, allocations: 0.6729 MB / 0.508 GB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.324e-05/0.1126, allocations: 0 / 0.508 GB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.1126, allocations: 11.38 kB / 0.508 GB, free: 2.367 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1126, allocations: 4.125 kB / 0.508 GB, free: 2.363 MB / 366.1 MB Notification: Performance of Templates: time 0.003277/0.1159, allocations: 0.5594 MB / 0.5086 GB, free: 1.812 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.903086662001442]