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.004781/0.004781, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001262/0.001262, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08193/0.08193, allocations: 16.67 MB / 307.2 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 428.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1083, allocations: 53.55 MB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001879/0.1102, allocations: 0.6911 MB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.1104, allocations: 35.84 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.483e-05/0.1104, allocations: 0 / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.1105, allocations: 0 / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.1105, allocations: 0 / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1107, allocations: 11.92 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.1108, allocations: 23.98 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.865e-05/0.1108, allocations: 4 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.1109, allocations: 4 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.1109, allocations: 7.984 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.111, allocations: 0 / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.111, allocations: 4 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.111, allocations: 0 / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.111, allocations: 15.92 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.495e-05/0.1111, allocations: 15.97 kB / 483 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1111, allocations: 3.938 kB / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1111, allocations: 0 / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1111, allocations: 4 kB / 483 MB, free: 2.121 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.0003935/0.1115, allocations: 345.2 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1116, allocations: 12.03 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.1116, allocations: 0.9375 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1117, allocations: 164.3 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1118, allocations: 4.375 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.1118, allocations: 4.375 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1119, allocations: 46.19 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1119, allocations: 4.125 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1119, allocations: 7.938 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1119, allocations: 0 / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.112, allocations: 15.98 kB / 483.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.1124, allocations: 240.9 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/0.1125, allocations: 38.48 kB / 483.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.1125, allocations: 16.92 kB / 483.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.1125, allocations: 4 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.1126, allocations: 30.56 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1126, allocations: 0 / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002068/0.1128, allocations: 83.39 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1129, allocations: 77.11 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.311e-05/0.1129, allocations: 89.86 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.113, allocations: 33.69 kB / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.113, allocations: 84.27 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.113, allocations: 11.89 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1131, allocations: 13.72 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1132, allocations: 310.8 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.1132, allocations: 8 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.1133, allocations: 11.98 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.1133, allocations: 76.27 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1134, allocations: 0 / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001039/0.1135, allocations: 83.39 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.1135, allocations: 33.7 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1135, allocations: 0 / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1135, allocations: 3.984 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.1136, allocations: 0 / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1136, allocations: 7.938 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.1136, allocations: 3.984 kB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1137, allocations: 4 kB / 484.8 MB, free: 20 kB / 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 0.0001134/0.1138, allocations: 135.6 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1138, allocations: 7.938 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.1138, allocations: 11.06 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1138, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1139, allocations: 3.984 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1139, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.114, allocations: 157.5 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.114, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-06/0.114, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1141, allocations: 4 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1141, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1141, allocations: 4 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1141, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.1142, allocations: 185.1 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.1143, allocations: 85.03 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1143, allocations: 4 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.1144, allocations: 4 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1144, allocations: 4 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1145, allocations: 4.031 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.275e-05/0.1145, allocations: 75.28 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1145, allocations: 0 / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1147, allocations: 8 kB / 485.5 MB, free: 15.23 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.0001669/0.1149, allocations: 99.23 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.115, allocations: 79.39 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.115, allocations: 0 / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.222e-05/0.1151, allocations: 71.47 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.1153, allocations: 3.938 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.1156, allocations: 104.8 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1159, allocations: 0.6729 MB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.749e-06/0.1159, allocations: 4 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.1159, allocations: 7.438 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1159, allocations: 0 / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Templates: time 0.002771/0.1187, allocations: 0.568 MB / 487.1 MB, free: 13.56 MB / 366.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