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.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001866/0.001866, allocations: 198.2 kB / 16.14 MB, free: 6.711 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1955/0.1955, allocations: 16.78 MB / 306.7 MB, free: 15.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 373.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2774, allocations: 53.55 MB / 426.7 MB, free: 40.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002409/0.2799, allocations: 0.7596 MB / 427.4 MB, free: 40.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.2802, allocations: 33.66 kB / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.2802, allocations: 2.906 kB / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.2803, allocations: 0 / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.2803, allocations: 0 / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.2805, allocations: 10.41 kB / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.2805, allocations: 10.81 kB / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.2806, allocations: 7.562 kB / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.2807, allocations: 13.89 kB / 427.5 MB, free: 40.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.2807, allocations: 7.484 kB / 427.5 MB, free: 40.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2807, allocations: 1.812 kB / 427.5 MB, free: 40.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.2807, allocations: 2.5 kB / 427.5 MB, free: 40.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.2808, allocations: 0 / 427.5 MB, free: 40.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.2808, allocations: 7.406 kB / 427.5 MB, free: 40.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.47e-05/0.2809, allocations: 14.11 kB / 427.5 MB, free: 40.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2809, allocations: 10.97 kB / 427.6 MB, free: 40.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2809, allocations: 0 / 427.6 MB, free: 40.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2809, allocations: 0 / 427.6 MB, free: 40.43 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.0003068/0.2812, allocations: 341.5 kB / 427.9 MB, free: 40.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2813, allocations: 7.688 kB / 427.9 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.2813, allocations: 3.625 kB / 427.9 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.699e-05/0.2814, allocations: 167.2 kB / 428.1 MB, free: 39.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2814, allocations: 2.938 kB / 428.1 MB, free: 39.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.2814, allocations: 1.062 kB / 428.1 MB, free: 39.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.2815, allocations: 46.5 kB / 428.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2815, allocations: 192 / 428.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2816, allocations: 3.938 kB / 428.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2816, allocations: 2.812 kB / 428.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.2816, allocations: 20.33 kB / 428.1 MB, free: 39.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.282, allocations: 243 kB / 428.4 MB, free: 39.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.322e-05/0.2821, allocations: 31.98 kB / 428.4 MB, free: 39.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.2821, allocations: 22.25 kB / 428.4 MB, free: 39.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.2821, allocations: 0 / 428.4 MB, free: 39.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2822, allocations: 38.59 kB / 428.5 MB, free: 39.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2822, allocations: 0 / 428.5 MB, free: 39.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001995/0.2824, allocations: 82.72 kB / 428.6 MB, free: 39.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2824, allocations: 77.11 kB / 428.6 MB, free: 39.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.777e-05/0.2824, allocations: 94.64 kB / 428.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2825, allocations: 31.78 kB / 428.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/0.2825, allocations: 84.05 kB / 428.8 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.2825, allocations: 3.219 kB / 428.8 MB, free: 39.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.2825, allocations: 13.03 kB / 428.8 MB, free: 39.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.2826, allocations: 313.9 kB / 429.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.2826, allocations: 11.06 kB / 429.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.2826, allocations: 6.562 kB / 429.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.2827, allocations: 84.73 kB / 429.3 MB, free: 38.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2827, allocations: 0 / 429.3 MB, free: 38.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.871e-05/0.2828, allocations: 81.3 kB / 429.3 MB, free: 38.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.2828, allocations: 33.27 kB / 429.4 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2829, allocations: 7.312 kB / 429.4 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2829, allocations: 0 / 429.4 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-05/0.2829, allocations: 0 / 429.4 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2829, allocations: 0 / 429.4 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.283, allocations: 10.75 kB / 429.4 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.283, allocations: 4.031 kB / 429.4 MB, free: 38.57 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 7.123e-05/0.2831, allocations: 140.4 kB / 429.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.2831, allocations: 3.938 kB / 429.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.2831, allocations: 3.125 kB / 429.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2832, allocations: 2.906 kB / 429.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2832, allocations: 0 / 429.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2832, allocations: 0 / 429.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.2833, allocations: 166.2 kB / 429.7 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2833, allocations: 0 / 429.7 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.2834, allocations: 10.72 kB / 429.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2834, allocations: 0 / 429.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2834, allocations: 0 / 429.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2834, allocations: 0 / 429.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2834, allocations: 3.234 kB / 429.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2835, allocations: 180.5 kB / 429.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.2835, allocations: 77.11 kB / 430 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2836, allocations: 3.938 kB / 430 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.2836, allocations: 7.312 kB / 430 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.2837, allocations: 3.906 kB / 430 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2837, allocations: 3.938 kB / 430 MB, free: 37.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.672e-05/0.2837, allocations: 75.28 kB / 430.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2837, allocations: 0 / 430.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.284, allocations: 10.44 kB / 430.1 MB, free: 37.88 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.0001032/0.2841, allocations: 106.9 kB / 430.2 MB, free: 37.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.2842, allocations: 83.48 kB / 430.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2842, allocations: 2.656 kB / 430.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.2843, allocations: 63.41 kB / 430.3 MB, free: 37.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.2845, allocations: 8.75 kB / 430.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.2847, allocations: 98.5 kB / 430.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2849, allocations: 0.675 MB / 431.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.409e-05/0.2849, allocations: 0 / 431.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.2849, allocations: 10.44 kB / 431.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2849, allocations: 4.125 kB / 431.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of Templates: time 0.002441/0.2874, allocations: 0.5035 MB / 431.6 MB, free: 36.76 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