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.004129/0.004129, allocations: 101 kB / 15.73 MB, free: 5.992 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.001021/0.001021, allocations: 196.2 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1664/0.1664, allocations: 16.78 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.89 kB / 428.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08265/0.08402, allocations: 53.56 MB / 482.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001524/0.08558, allocations: 0.698 MB / 483 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.08574, allocations: 30.77 kB / 483 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.08578, allocations: 0 / 483 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.08581, allocations: 0 / 483 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.08586, allocations: 9.25 kB / 483 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.08598, allocations: 13.36 kB / 483 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.08607, allocations: 12.25 kB / 483 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.951e-05/0.08615, allocations: 10.73 kB / 483 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.08618, allocations: 4.125 kB / 483 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.08623, allocations: 5.375 kB / 483 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.08624, allocations: 2.75 kB / 483 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.08626, allocations: 1.375 kB / 483 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.08627, allocations: 1.375 kB / 483.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.0863, allocations: 9.297 kB / 483.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.036e-05/0.08637, allocations: 16.09 kB / 483.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.08638, allocations: 0 / 483.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08638, allocations: 5.375 kB / 483.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.0864, allocations: 0 / 483.1 MB, free: 8.457 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.0002189/0.08662, allocations: 354.5 kB / 483.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.08665, allocations: 10.66 kB / 483.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.08669, allocations: 2.125 kB / 483.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.912e-05/0.08674, allocations: 168.3 kB / 483.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.08676, allocations: 5.656 kB / 483.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.08677, allocations: 2.938 kB / 483.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.08688, allocations: 45.47 kB / 483.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.08689, allocations: 192 / 483.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.0869, allocations: 4.875 kB / 483.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.08691, allocations: 0 / 483.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.08695, allocations: 9.469 kB / 483.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.08727, allocations: 247.9 kB / 483.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.08733, allocations: 40.31 kB / 484 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.08736, allocations: 25.16 kB / 484 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.08738, allocations: 0 / 484 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.0874, allocations: 31.38 kB / 484 MB, free: 7.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.08741, allocations: 0 / 484 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.08759, allocations: 90.14 kB / 484.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.08763, allocations: 78.17 kB / 484.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.144e-05/0.08766, allocations: 89.86 kB / 484.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.08767, allocations: 30.98 kB / 484.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.08769, allocations: 80.14 kB / 484.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.08771, allocations: 5.219 kB / 484.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.08775, allocations: 24.8 kB / 484.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.0878, allocations: 311.7 kB / 484.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.08782, allocations: 9.094 kB / 484.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.568e-05/0.08784, allocations: 4.344 kB / 484.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.0879, allocations: 78.69 kB / 484.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.08791, allocations: 4 kB / 484.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.784e-05/0.088, allocations: 86.64 kB / 484.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.08803, allocations: 31.36 kB / 484.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.08804, allocations: 0 / 484.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.08805, allocations: 1.062 kB / 484.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.08809, allocations: 1 kB / 484.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.0881, allocations: 1.531 kB / 484.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.08815, allocations: 1.875 kB / 484.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.08817, allocations: 1.312 kB / 484.9 MB, free: 6.48 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 5.367e-05/0.08823, allocations: 146 kB / 485.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.08825, allocations: 6.594 kB / 485.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.08827, allocations: 3.125 kB / 485.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.08828, allocations: 1.281 kB / 485.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.08829, allocations: 0 / 485.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.08829, allocations: 0 / 485.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.0884, allocations: 160.3 kB / 485.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.08841, allocations: 0.7188 kB / 485.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-06/0.08842, allocations: 1.281 kB / 485.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.08843, allocations: 5.344 kB / 485.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.08845, allocations: 1.312 kB / 485.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.08845, allocations: 3.938 kB / 485.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.08846, allocations: 0 / 485.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.08858, allocations: 183.1 kB / 485.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.0886, allocations: 78.2 kB / 485.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.08862, allocations: 5.25 kB / 485.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.0887, allocations: 10.11 kB / 485.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.08874, allocations: 1.062 kB / 485.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.08875, allocations: 5.25 kB / 485.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.279e-05/0.08877, allocations: 76.31 kB / 485.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08877, allocations: 0 / 485.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.08899, allocations: 5.531 kB / 485.6 MB, free: 5.738 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 9.867e-05/0.08909, allocations: 97.19 kB / 485.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.08925, allocations: 78.52 kB / 485.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.08926, allocations: 4.062 kB / 485.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.0893, allocations: 74.23 kB / 485.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.0895, allocations: 6.938 kB / 485.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.0897, allocations: 103.3 kB / 486 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.758e-05/0.0898, allocations: 0.6711 MB / 486.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.005e-05/0.08981, allocations: 1.062 kB / 486.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.08983, allocations: 8.344 kB / 486.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.08984, allocations: 0 / 486.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of Templates: time 0.002558/0.0924, allocations: 0.5688 MB / 487.2 MB, free: 4.379 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