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.001146/0.001146, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001138/0.001138, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07967/0.07967, allocations: 16.78 MB / 307.8 MB, free: 14.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 62.33 kB / 374.5 MB, free: 48.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09812, allocations: 53.58 MB / 428.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002285/0.1004, allocations: 0.6869 MB / 428.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000182/0.1007, allocations: 35.83 kB / 428.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.1007, allocations: 0 / 428.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.1007, allocations: 3.938 kB / 428.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.1008, allocations: 0 / 428.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.101, allocations: 11.98 kB / 428.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1011, allocations: 19.94 kB / 428.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1012, allocations: 3.984 kB / 428.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.1013, allocations: 8 kB / 428.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.1013, allocations: 7.984 kB / 428.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1013, allocations: 0 / 428.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.1014, allocations: 8 kB / 428.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.1014, allocations: 3.984 kB / 428.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.1014, allocations: 11.94 kB / 428.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.287e-05/0.1015, allocations: 7.984 kB / 428.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1015, allocations: 4 kB / 428.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1015, allocations: 0 / 428.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1015, allocations: 0 / 428.9 MB, free: 9.781 MB / 302.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.0002838/0.1018, allocations: 345.8 kB / 429.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1018, allocations: 12.03 kB / 429.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.1019, allocations: 4.938 kB / 429.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.977e-05/0.102, allocations: 169.4 kB / 429.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.102, allocations: 384 / 429.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.102, allocations: 4.375 kB / 429.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1021, allocations: 42.25 kB / 429.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1021, allocations: 192 / 429.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1022, allocations: 3.938 kB / 429.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1022, allocations: 0 / 429.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.1022, allocations: 8 kB / 429.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1026, allocations: 252.9 kB / 429.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.1027, allocations: 30.52 kB / 429.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1027, allocations: 16.91 kB / 429.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1027, allocations: 4 kB / 429.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.1028, allocations: 30.56 kB / 429.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.1028, allocations: 4 kB / 429.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001954/0.103, allocations: 87.33 kB / 429.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.103, allocations: 85.05 kB / 430 MB, free: 8.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.375e-05/0.1031, allocations: 93.86 kB / 430.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.1031, allocations: 25.7 kB / 430.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/0.1031, allocations: 84.05 kB / 430.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1031, allocations: 12.22 kB / 430.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.1031, allocations: 13.7 kB / 430.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.1032, allocations: 319 kB / 430.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.1032, allocations: 11.94 kB / 430.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.1032, allocations: 7.984 kB / 430.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.914e-05/0.1033, allocations: 72.27 kB / 430.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1033, allocations: 0 / 430.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.484e-05/0.1034, allocations: 87.27 kB / 430.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.1034, allocations: 33.7 kB / 430.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1034, allocations: 0 / 430.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1035, allocations: 96 / 430.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.1035, allocations: 4 kB / 430.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1035, allocations: 0 / 430.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.1036, allocations: 11.91 kB / 430.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1036, allocations: 7.984 kB / 430.7 MB, free: 7.668 MB / 302.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 5.8e-05/0.1037, allocations: 136.4 kB / 430.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1037, allocations: 7.938 kB / 430.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.1037, allocations: 3.125 kB / 430.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1037, allocations: 3.984 kB / 430.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1037, allocations: 4 kB / 430.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1037, allocations: 0 / 430.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1038, allocations: 161.6 kB / 431 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1039, allocations: 0 / 431 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-06/0.1039, allocations: 0 / 431 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1039, allocations: 0 / 431 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1039, allocations: 4 kB / 431 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1039, allocations: 0 / 431 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1039, allocations: 0 / 431 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.104, allocations: 185.1 kB / 431.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.104, allocations: 77.11 kB / 431.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.104, allocations: 4 kB / 431.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.1041, allocations: 3.984 kB / 431.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.1042, allocations: 7.938 kB / 431.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1042, allocations: 0 / 431.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.35e-05/0.1042, allocations: 75.28 kB / 431.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1042, allocations: 0 / 431.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.1044, allocations: 8 kB / 431.4 MB, free: 6.895 MB / 302.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 9.157e-05/0.1045, allocations: 103.3 kB / 431.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.1047, allocations: 75.39 kB / 431.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1047, allocations: 4 kB / 431.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.1047, allocations: 71.33 kB / 431.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1049, allocations: 7.938 kB / 431.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.1052, allocations: 118.9 kB / 431.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.1053, allocations: 0.6768 MB / 432.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.1053, allocations: 11.38 kB / 432.5 MB, free: 5.738 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1053, allocations: 0 / 432.5 MB, free: 5.738 MB / 302.1 MB Notification: Performance of Templates: time 0.001832/0.1072, allocations: 0.5253 MB / 433 MB, free: 5.215 MB / 302.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=480 -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