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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.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(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006066/0.006066, allocations: 96.2 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 200.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2364/0.2364, allocations: 16.68 MB / 307.2 MB, free: 14.87 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001869, allocations: 66.56 kB / 428.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1067, allocations: 53.56 MB / 482.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001872/0.1087, allocations: 0.6936 MB / 482.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001758/0.1089, allocations: 29.98 kB / 482.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.1089, allocations: 1.125 kB / 482.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.1089, allocations: 3.938 kB / 482.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.109, allocations: 7.938 kB / 482.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.1092, allocations: 10.23 kB / 482.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1093, allocations: 17.16 kB / 482.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1094, allocations: 10.83 kB / 482.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.1094, allocations: 2.75 kB / 482.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.1095, allocations: 6.75 kB / 482.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1095, allocations: 1.344 kB / 482.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.1095, allocations: 1.312 kB / 482.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.1096, allocations: 5.328 kB / 482.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.1096, allocations: 10.58 kB / 482.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.967e-05/0.1097, allocations: 15.95 kB / 483 MB, free: 8.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1097, allocations: 0 / 483 MB, free: 8.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1097, allocations: 0 / 483 MB, free: 8.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1097, allocations: 5.5 kB / 483 MB, free: 8.648 MB / 350.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.0003398/0.1101, allocations: 346.2 kB / 483.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1101, allocations: 9.938 kB / 483.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.1102, allocations: 5.922 kB / 483.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.1102, allocations: 165.2 kB / 483.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1103, allocations: 1.438 kB / 483.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1103, allocations: 6.531 kB / 483.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1104, allocations: 45.38 kB / 483.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1104, allocations: 1.156 kB / 483.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1105, allocations: 3.938 kB / 483.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1105, allocations: 0.9375 kB / 483.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.859e-05/0.1105, allocations: 5.469 kB / 483.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.111, allocations: 255.2 kB / 483.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.1111, allocations: 37.05 kB / 483.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/0.1111, allocations: 19.28 kB / 483.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1111, allocations: 4.969 kB / 483.9 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1111, allocations: 32.12 kB / 483.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.1112, allocations: 0 / 483.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.1114, allocations: 84.92 kB / 484 MB, free: 7.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1115, allocations: 82.55 kB / 484.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.784e-05/0.1115, allocations: 93.98 kB / 484.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1115, allocations: 26.77 kB / 484.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.1115, allocations: 81.39 kB / 484.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1116, allocations: 4.797 kB / 484.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.1116, allocations: 16.86 kB / 484.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.1117, allocations: 316.4 kB / 484.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.1117, allocations: 4.125 kB / 484.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.1117, allocations: 8.125 kB / 484.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.988e-05/0.1118, allocations: 82.5 kB / 484.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1118, allocations: 0 / 484.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.407e-05/0.1119, allocations: 86.52 kB / 484.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.1119, allocations: 32.08 kB / 484.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.112, allocations: 0 / 484.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.112, allocations: 5.297 kB / 484.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.112, allocations: 1.281 kB / 484.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.112, allocations: 0 / 484.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.1121, allocations: 2.188 kB / 484.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1121, allocations: 5.312 kB / 484.8 MB, free: 6.676 MB / 350.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 6.462e-05/0.1122, allocations: 143.5 kB / 484.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.1122, allocations: 4.625 kB / 484.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.661e-05/0.1122, allocations: 4.312 kB / 484.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1122, allocations: 0 / 484.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1122, allocations: 1.25 kB / 485 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1122, allocations: 0 / 485 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1124, allocations: 156.2 kB / 485.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1124, allocations: 5.281 kB / 485.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.1124, allocations: 5.406 kB / 485.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1124, allocations: 0 / 485.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1124, allocations: 5.125 kB / 485.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1124, allocations: 3.938 kB / 485.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1124, allocations: 1.25 kB / 485.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1125, allocations: 179.1 kB / 485.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.1126, allocations: 81.06 kB / 485.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1126, allocations: 5.156 kB / 485.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.1127, allocations: 6.172 kB / 485.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.1127, allocations: 6.25 kB / 485.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.1127, allocations: 1.156 kB / 485.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.297e-05/0.1128, allocations: 79.22 kB / 485.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1128, allocations: 0 / 485.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000243/0.113, allocations: 5.531 kB / 485.5 MB, free: 5.934 MB / 350.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.0001142/0.1131, allocations: 102.5 kB / 485.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1133, allocations: 86.39 kB / 485.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1133, allocations: 0 / 485.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.1133, allocations: 69.2 kB / 485.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1136, allocations: 8.281 kB / 485.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.1138, allocations: 101.4 kB / 485.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1139, allocations: 0.6713 MB / 486.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.06e-05/0.1139, allocations: 0 / 486.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.1139, allocations: 8.656 kB / 486.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1139, allocations: 4.125 kB / 486.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of Templates: time 0.002925/0.1169, allocations: 0.5707 MB / 487.1 MB, free: 4.566 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (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) 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) Reference file matches