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.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2069/0.2069, allocations: 16.77 MB / 307.2 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 63.91 kB / 373.8 MB, free: 1.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2984, allocations: 53.56 MB / 427.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001988/0.3004, allocations: 0.691 MB / 428.1 MB, free: 40.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.3006, allocations: 29.66 kB / 428.1 MB, free: 40.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.3007, allocations: 0 / 428.1 MB, free: 40.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.3007, allocations: 0 / 428.1 MB, free: 40.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.3008, allocations: 0 / 428.1 MB, free: 40.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.3009, allocations: 12.66 kB / 428.1 MB, free: 40.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3011, allocations: 25.5 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3012, allocations: 13.19 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.3012, allocations: 6.188 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.3013, allocations: 4.438 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3013, allocations: 2.812 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.3013, allocations: 2.781 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.3013, allocations: 3.5 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.3014, allocations: 6.219 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.944e-05/0.3014, allocations: 12.94 kB / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3014, allocations: 0 / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3014, allocations: 0 / 428.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3014, allocations: 4 kB / 428.2 MB, free: 40.35 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.0002745/0.3017, allocations: 342.9 kB / 428.5 MB, free: 39.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3018, allocations: 8.469 kB / 428.6 MB, free: 39.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.3018, allocations: 3.719 kB / 428.6 MB, free: 39.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.07e-05/0.3019, allocations: 170 kB / 428.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3019, allocations: 3.125 kB / 428.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3019, allocations: 4.312 kB / 428.7 MB, free: 39.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.302, allocations: 44.58 kB / 428.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.302, allocations: 4.188 kB / 428.8 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.302, allocations: 6.906 kB / 428.8 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3021, allocations: 0 / 428.8 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.3021, allocations: 12.92 kB / 428.8 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.3025, allocations: 244.2 kB / 429 MB, free: 39.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.656e-05/0.3025, allocations: 28.55 kB / 429.1 MB, free: 39.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.3026, allocations: 26.12 kB / 429.1 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.3026, allocations: 0 / 429.1 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.3026, allocations: 34.5 kB / 429.1 MB, free: 39.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3026, allocations: 0 / 429.1 MB, free: 39.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001807/0.3028, allocations: 84.11 kB / 429.2 MB, free: 39.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3028, allocations: 80.36 kB / 429.3 MB, free: 39.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.752e-05/0.3028, allocations: 89.86 kB / 429.4 MB, free: 39.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.3028, allocations: 28.94 kB / 429.4 MB, free: 39.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.3029, allocations: 91.11 kB / 429.5 MB, free: 39.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.3029, allocations: 3.984 kB / 429.5 MB, free: 39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.3029, allocations: 15.78 kB / 429.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.303, allocations: 314.3 kB / 429.8 MB, free: 38.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.303, allocations: 13.7 kB / 429.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.303, allocations: 2.938 kB / 429.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.3031, allocations: 82.12 kB / 429.9 MB, free: 38.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3031, allocations: 4.062 kB / 429.9 MB, free: 38.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.501e-05/0.3032, allocations: 78.56 kB / 430 MB, free: 38.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3032, allocations: 31.27 kB / 430 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3032, allocations: 0 / 430 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3032, allocations: 2.938 kB / 430 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.3033, allocations: 0 / 430 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3033, allocations: 3.984 kB / 430 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.3034, allocations: 10.12 kB / 430 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3034, allocations: 3.25 kB / 430 MB, free: 38.49 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.729e-05/0.3034, allocations: 143.3 kB / 430.2 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.3035, allocations: 10.64 kB / 430.2 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.3035, allocations: 3.125 kB / 430.2 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3035, allocations: 0 / 430.2 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3035, allocations: 3.938 kB / 430.2 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3035, allocations: 2.844 kB / 430.2 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.3036, allocations: 162.6 kB / 430.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3036, allocations: 0 / 430.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.3036, allocations: 0 / 430.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3036, allocations: 2.781 kB / 430.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3037, allocations: 4 kB / 430.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3037, allocations: 0 / 430.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3037, allocations: 3.188 kB / 430.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.3038, allocations: 176.4 kB / 430.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.3038, allocations: 80.92 kB / 430.6 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3038, allocations: 3.438 kB / 430.6 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.3039, allocations: 3.281 kB / 430.6 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.3039, allocations: 11.88 kB / 430.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.304, allocations: 0 / 430.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.245e-05/0.304, allocations: 75.28 kB / 430.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 3.938 kB / 430.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3042, allocations: 11.56 kB / 430.7 MB, free: 37.78 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.086e-05/0.3043, allocations: 96.62 kB / 430.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3044, allocations: 81.62 kB / 430.9 MB, free: 37.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3044, allocations: 4.062 kB / 430.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.3045, allocations: 70.16 kB / 431 MB, free: 37.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.3047, allocations: 9.359 kB / 431 MB, free: 37.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.3049, allocations: 100.4 kB / 431.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.656e-05/0.305, allocations: 0.6752 MB / 431.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.082e-05/0.305, allocations: 0 / 431.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.305, allocations: 7.438 kB / 431.8 MB, free: 36.76 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3051, allocations: 2.906 kB / 431.8 MB, free: 36.76 MB / 350.1 MB Notification: Performance of Templates: time 0.002467/0.3075, allocations: 0.5625 MB / 432.3 MB, free: 36.69 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches