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.004306/0.004306, allocations: 105.3 kB / 15.74 MB, free: 6 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.001067/0.001067, allocations: 183.8 kB / 16.67 MB, free: 5.926 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07253/0.07253, allocations: 16.77 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 63.91 kB / 428.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09399, allocations: 53.57 MB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001815/0.09585, allocations: 0.6872 MB / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001571/0.09603, allocations: 31.95 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.09607, allocations: 0 / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.0961, allocations: 7.875 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.09617, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.0963, allocations: 11.98 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.572e-05/0.0964, allocations: 12 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.09649, allocations: 7.984 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.09652, allocations: 15.92 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.09658, allocations: 11.98 kB / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.0966, allocations: 0 / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.09661, allocations: 4 kB / 483.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.09663, allocations: 0 / 483.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.09667, allocations: 15.88 kB / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.089e-05/0.09674, allocations: 3.984 kB / 483.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09676, allocations: 4 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09676, allocations: 0 / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.09677, allocations: 0 / 483.1 MB, free: 2.008 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.0003039/0.09708, allocations: 349.2 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.09712, allocations: 12.03 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.09716, allocations: 0.9375 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.09725, allocations: 172.3 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.09726, allocations: 384 / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.09728, allocations: 4.375 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.09739, allocations: 42.25 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.0974, allocations: 192 / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.09742, allocations: 3.938 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.09743, allocations: 0 / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.09747, allocations: 19.94 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.09785, allocations: 244.9 kB / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.09791, allocations: 30.52 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.09795, allocations: 16.91 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.09797, allocations: 4 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.098, allocations: 34.56 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.09801, allocations: 0 / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.09821, allocations: 87.33 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.09826, allocations: 81.11 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.73e-05/0.0983, allocations: 89.86 kB / 484.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.09832, allocations: 25.7 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.09835, allocations: 80.14 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.09838, allocations: 11.94 kB / 484.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.09842, allocations: 17.84 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.09853, allocations: 314.8 kB / 484.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.09856, allocations: 8 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.09858, allocations: 7.984 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.273e-05/0.09865, allocations: 76.2 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.09865, allocations: 0 / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001101/0.09877, allocations: 83.33 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.0988, allocations: 33.8 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.09882, allocations: 7.938 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.09883, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.09887, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.09888, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.09893, allocations: 7.984 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.09894, allocations: 4 kB / 484.9 MB, free: 15.91 MB / 366.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.823e-05/0.09903, allocations: 139.5 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.09906, allocations: 7.938 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.09908, allocations: 7.125 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.09909, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.09909, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.0991, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.09924, allocations: 165.6 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.09925, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.09927, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.09928, allocations: 3.938 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.09929, allocations: 7.938 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.0993, allocations: 0 / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.0993, allocations: 3.984 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.09943, allocations: 181.1 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.09948, allocations: 85.11 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.0995, allocations: 0 / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.09957, allocations: 3.984 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.09961, allocations: 4 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.09962, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.422e-05/0.09965, allocations: 75.28 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09966, allocations: 4.031 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.09987, allocations: 8 kB / 485.6 MB, free: 15.12 MB / 366.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.648e-05/0.09997, allocations: 95.25 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1001, allocations: 83.33 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1001, allocations: 0 / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.516e-05/0.1002, allocations: 67.39 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.1004, allocations: 7.938 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.1006, allocations: 105 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1008, allocations: 0.669 MB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.919e-06/0.1008, allocations: 0 / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.1008, allocations: 11.44 kB / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1009, allocations: 0 / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of Templates: time 0.002225/0.1031, allocations: 0.5729 MB / 487.2 MB, free: 13.43 MB / 366.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