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.001019/0.001019, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001068/0.001068, allocations: 190.2 kB / 16.25 MB, free: 6.621 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2258/0.2258, allocations: 16.79 MB / 306.9 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 60.14 kB / 373.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.377, allocations: 53.56 MB / 426.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002099/0.3792, allocations: 0.7672 MB / 427.6 MB, free: 40.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.3794, allocations: 27.77 kB / 427.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.3794, allocations: 2.188 kB / 427.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.3794, allocations: 3.938 kB / 427.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.3795, allocations: 0 / 427.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.3796, allocations: 6 kB / 427.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3798, allocations: 21.03 kB / 427.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3799, allocations: 8.453 kB / 427.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.3799, allocations: 6.062 kB / 427.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.3799, allocations: 16.25 kB / 427.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.38, allocations: 0 / 427.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.38, allocations: 2.938 kB / 427.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.38, allocations: 0.8125 kB / 427.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.38, allocations: 4.969 kB / 427.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.012e-05/0.3801, allocations: 19.81 kB / 427.8 MB, free: 40.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3801, allocations: 0 / 427.8 MB, free: 40.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3801, allocations: 0 / 427.8 MB, free: 40.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3802, allocations: 0 / 427.8 MB, free: 40.51 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.0003108/0.3805, allocations: 340.3 kB / 428.1 MB, free: 40.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3805, allocations: 13.78 kB / 428.1 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3806, allocations: 3.688 kB / 428.1 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.482e-05/0.3806, allocations: 164.3 kB / 428.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3807, allocations: 384 / 428.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.3807, allocations: 10.08 kB / 428.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.3808, allocations: 42.77 kB / 428.3 MB, free: 39.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3808, allocations: 4.172 kB / 428.3 MB, free: 39.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3808, allocations: 3.938 kB / 428.3 MB, free: 39.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3808, allocations: 7.125 kB / 428.3 MB, free: 39.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.3809, allocations: 8.734 kB / 428.4 MB, free: 39.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.3813, allocations: 248.3 kB / 428.6 MB, free: 39.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.496e-05/0.3814, allocations: 33.89 kB / 428.6 MB, free: 39.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.3814, allocations: 16.95 kB / 428.6 MB, free: 39.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.3814, allocations: 0 / 428.6 MB, free: 39.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.3814, allocations: 37.47 kB / 428.7 MB, free: 39.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3814, allocations: 0 / 428.7 MB, free: 39.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002235/0.3817, allocations: 85.28 kB / 428.8 MB, free: 39.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.3817, allocations: 77.11 kB / 428.8 MB, free: 39.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.343e-05/0.3817, allocations: 96.94 kB / 428.9 MB, free: 39.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3818, allocations: 25.7 kB / 429 MB, free: 39.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.3818, allocations: 84.05 kB / 429 MB, free: 39.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3818, allocations: 10.58 kB / 429.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.3818, allocations: 17.53 kB / 429.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.3819, allocations: 310.8 kB / 429.4 MB, free: 38.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.3819, allocations: 13.94 kB / 429.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.532e-05/0.3819, allocations: 10.06 kB / 429.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.382, allocations: 78.12 kB / 429.5 MB, free: 38.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.382, allocations: 0 / 429.5 MB, free: 38.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.586e-05/0.3821, allocations: 80.02 kB / 429.5 MB, free: 38.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3821, allocations: 31.7 kB / 429.6 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3821, allocations: 4.094 kB / 429.6 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3822, allocations: 4 kB / 429.6 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.054e-05/0.3822, allocations: 3.938 kB / 429.6 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3822, allocations: 3.594 kB / 429.6 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.3823, allocations: 7.234 kB / 429.6 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.3823, allocations: 6.062 kB / 429.6 MB, free: 38.64 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.366e-05/0.3823, allocations: 134.1 kB / 429.7 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3824, allocations: 3.938 kB / 429.7 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.3824, allocations: 14.44 kB / 429.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3824, allocations: 0 / 429.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3824, allocations: 0 / 429.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3824, allocations: 3.188 kB / 429.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.3826, allocations: 156.1 kB / 429.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3826, allocations: 0 / 429.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/0.3826, allocations: 0 / 429.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3826, allocations: 2.906 kB / 429.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3826, allocations: 0 / 429.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3826, allocations: 3.188 kB / 429.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3826, allocations: 0 / 429.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.3827, allocations: 188.5 kB / 430.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.3828, allocations: 77.11 kB / 430.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3828, allocations: 2.875 kB / 430.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.3829, allocations: 3.375 kB / 430.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3829, allocations: 3 kB / 430.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3829, allocations: 0 / 430.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.3829, allocations: 75.28 kB / 430.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3829, allocations: 4.031 kB / 430.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.3832, allocations: 10.62 kB / 430.3 MB, free: 37.95 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.0001028/0.3833, allocations: 107.2 kB / 430.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.3834, allocations: 77.98 kB / 430.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3834, allocations: 0 / 430.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.3835, allocations: 68.69 kB / 430.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3837, allocations: 6.656 kB / 430.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.3839, allocations: 104.2 kB / 430.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.384, allocations: 0.675 MB / 431.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.205e-05/0.3841, allocations: 3.938 kB / 431.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.3841, allocations: 10.75 kB / 431.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3841, allocations: 0 / 431.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of Templates: time 0.002452/0.3865, allocations: 0.5226 MB / 431.8 MB, free: 36.84 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