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.001366/0.001373, allocations: 99.97 kB / 16.35 MB, free: 5.828 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.001545/0.001545, allocations: 191.1 kB / 17.29 MB, free: 5.484 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07504/0.07504, allocations: 16.74 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 65.41 kB / 375.2 MB, free: 48.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 53.58 MB / 428.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001854/0.113, allocations: 0.6788 MB / 429.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.1132, allocations: 39.89 kB / 429.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.1132, allocations: 0 / 429.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.1133, allocations: 0 / 429.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.1133, allocations: 0 / 429.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.1135, allocations: 11.98 kB / 429.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.1136, allocations: 19.94 kB / 429.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.1137, allocations: 4.547 kB / 429.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.1137, allocations: 7.938 kB / 429.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1137, allocations: 8 kB / 429.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1138, allocations: 0 / 429.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-06/0.1138, allocations: 8 kB / 429.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.1138, allocations: 0 / 429.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.1138, allocations: 15.91 kB / 429.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.765e-05/0.1139, allocations: 7.984 kB / 429.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1139, allocations: 7.938 kB / 429.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1139, allocations: 4 kB / 429.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1139, allocations: 0 / 429.6 MB, free: 9.051 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.0002447/0.1142, allocations: 337.3 kB / 430 MB, free: 8.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1142, allocations: 8.031 kB / 430 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.1142, allocations: 4.938 kB / 430 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.878e-05/0.1143, allocations: 172.4 kB / 430.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1143, allocations: 384 / 430.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1143, allocations: 4.375 kB / 430.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1144, allocations: 46.23 kB / 430.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1145, allocations: 4.125 kB / 430.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1145, allocations: 3.938 kB / 430.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1145, allocations: 4 kB / 430.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.1145, allocations: 8 kB / 430.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1149, allocations: 249 kB / 430.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.942e-05/0.1149, allocations: 30.52 kB / 430.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.115, allocations: 16.91 kB / 430.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.115, allocations: 4 kB / 430.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.115, allocations: 38.5 kB / 430.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.115, allocations: 3.938 kB / 430.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.1152, allocations: 87.39 kB / 430.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.1152, allocations: 81.11 kB / 430.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.818e-05/0.1153, allocations: 89.86 kB / 430.8 MB, free: 7.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.1153, allocations: 25.7 kB / 430.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.1153, allocations: 84.05 kB / 430.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.1153, allocations: 3.938 kB / 430.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1154, allocations: 21.7 kB / 430.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.1154, allocations: 314.8 kB / 431.2 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.1154, allocations: 12.12 kB / 431.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.1155, allocations: 4 kB / 431.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.577e-05/0.1155, allocations: 80.19 kB / 431.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1155, allocations: 0 / 431.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.24e-05/0.1156, allocations: 83.33 kB / 431.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1156, allocations: 33.7 kB / 431.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1156, allocations: 0 / 431.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1156, allocations: 0 / 431.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.551e-05/0.1157, allocations: 96 / 431.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1157, allocations: 4 kB / 431.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.1157, allocations: 7.906 kB / 431.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1158, allocations: 0 / 431.5 MB, free: 6.953 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.941e-05/0.1158, allocations: 144.4 kB / 431.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1158, allocations: 3.938 kB / 431.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.1159, allocations: 11.06 kB / 431.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1159, allocations: 3.938 kB / 431.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1159, allocations: 0 / 431.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1159, allocations: 4 kB / 431.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.956e-05/0.116, allocations: 161.6 kB / 431.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.116, allocations: 0 / 431.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.116, allocations: 0 / 431.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.116, allocations: 0 / 431.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.116, allocations: 4 kB / 431.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.116, allocations: 0 / 431.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.116, allocations: 0 / 431.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.672e-05/0.1161, allocations: 181.2 kB / 432 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.1162, allocations: 77.11 kB / 432 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1162, allocations: 7.938 kB / 432 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.1163, allocations: 7.984 kB / 432.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1163, allocations: 4 kB / 432.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1163, allocations: 0 / 432.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.257e-05/0.1163, allocations: 75.28 kB / 432.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.1163, allocations: 0 / 432.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.1165, allocations: 11.94 kB / 432.1 MB, free: 6.164 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 7.917e-05/0.1166, allocations: 99.28 kB / 432.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.1168, allocations: 79.39 kB / 432.3 MB, free: 5.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1168, allocations: 0 / 432.3 MB, free: 5.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.1168, allocations: 67.39 kB / 432.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.117, allocations: 10.59 kB / 432.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.1172, allocations: 97.06 kB / 432.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.1173, allocations: 0.6729 MB / 433.2 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.247e-05/0.1174, allocations: 4.125 kB / 433.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.1174, allocations: 7.438 kB / 433.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1174, allocations: 3.938 kB / 433.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of Templates: time 0.002304/0.1197, allocations: 0.5693 MB / 433.7 MB, free: 4.48 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 -s gbode -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