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.001786/0.001786, allocations: 108 kB / 15.61 MB, free: 152 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.002474/0.002487, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1839/0.1839, allocations: 16.7 MB / 307.1 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 373.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.263, allocations: 53.54 MB / 427.3 MB, free: 40.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001933/0.265, allocations: 0.6996 MB / 428 MB, free: 40.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.2652, allocations: 27.69 kB / 428 MB, free: 40.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.2652, allocations: 0 / 428 MB, free: 40.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2653, allocations: 0 / 428 MB, free: 40.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.382e-05/0.2653, allocations: 0 / 428 MB, free: 40.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.2655, allocations: 13.34 kB / 428 MB, free: 40.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.2656, allocations: 17.2 kB / 428 MB, free: 40.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.2656, allocations: 10.61 kB / 428.1 MB, free: 40.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.2657, allocations: 8.219 kB / 428.1 MB, free: 40.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.2657, allocations: 7.078 kB / 428.1 MB, free: 40.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2657, allocations: 2.781 kB / 428.1 MB, free: 40.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-06/0.2658, allocations: 3.938 kB / 428.1 MB, free: 40.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.2658, allocations: 3.984 kB / 428.1 MB, free: 40.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.2658, allocations: 12.61 kB / 428.1 MB, free: 40.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.043e-05/0.2659, allocations: 11.8 kB / 428.1 MB, free: 40.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2659, allocations: 3.281 kB / 428.1 MB, free: 40.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2659, allocations: 4 kB / 428.1 MB, free: 40.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.2659, allocations: 0 / 428.1 MB, free: 40.7 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.0002427/0.2662, allocations: 342.5 kB / 428.4 MB, free: 40.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2662, allocations: 8.531 kB / 428.5 MB, free: 40.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.2662, allocations: 3.531 kB / 428.5 MB, free: 40.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.456e-05/0.2663, allocations: 163.2 kB / 428.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2663, allocations: 6.75 kB / 428.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2663, allocations: 5.75 kB / 428.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.2665, allocations: 42.89 kB / 428.7 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2665, allocations: 4.188 kB / 428.7 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2665, allocations: 3.938 kB / 428.7 MB, free: 40.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2665, allocations: 2.25 kB / 428.7 MB, free: 40.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.2665, allocations: 12.12 kB / 428.7 MB, free: 40.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.2669, allocations: 249.1 kB / 428.9 MB, free: 39.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.592e-05/0.2669, allocations: 30.33 kB / 429 MB, free: 39.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.267, allocations: 20.7 kB / 429 MB, free: 39.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.267, allocations: 0 / 429 MB, free: 39.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.267, allocations: 34.56 kB / 429 MB, free: 39.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.267, allocations: 0 / 429 MB, free: 39.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.2672, allocations: 89.78 kB / 429.1 MB, free: 39.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2672, allocations: 80.52 kB / 429.2 MB, free: 39.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.621e-05/0.2673, allocations: 89.86 kB / 429.3 MB, free: 39.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.2673, allocations: 33.08 kB / 429.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.744e-05/0.2673, allocations: 84.05 kB / 429.4 MB, free: 39.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.2673, allocations: 2.625 kB / 429.4 MB, free: 39.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.2673, allocations: 16.81 kB / 429.4 MB, free: 39.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.2674, allocations: 314.2 kB / 429.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.2674, allocations: 3.125 kB / 429.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.2674, allocations: 13.39 kB / 429.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.2675, allocations: 83.92 kB / 429.8 MB, free: 38.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2675, allocations: 0 / 429.8 MB, free: 38.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.472e-05/0.2676, allocations: 81.17 kB / 429.9 MB, free: 38.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2676, allocations: 30.64 kB / 429.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2676, allocations: 0 / 429.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2676, allocations: 0 / 429.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.441e-05/0.2677, allocations: 6.688 kB / 429.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2677, allocations: 0 / 429.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.2677, allocations: 3.906 kB / 429.9 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.2677, allocations: 3.875 kB / 429.9 MB, free: 38.84 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.034e-05/0.2678, allocations: 144.8 kB / 430.1 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.2678, allocations: 3.938 kB / 430.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.2678, allocations: 3.125 kB / 430.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2678, allocations: 6.594 kB / 430.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2679, allocations: 0 / 430.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.2679, allocations: 0 / 430.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.802e-05/0.268, allocations: 158.5 kB / 430.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.268, allocations: 0 / 430.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.268, allocations: 7.125 kB / 430.3 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.268, allocations: 4 kB / 430.3 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.268, allocations: 0 / 430.3 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.268, allocations: 0 / 430.3 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.268, allocations: 0 / 430.3 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.629e-05/0.2681, allocations: 177.4 kB / 430.4 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.2681, allocations: 80.39 kB / 430.5 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2682, allocations: 3.031 kB / 430.5 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.2682, allocations: 11.36 kB / 430.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.2683, allocations: 7.094 kB / 430.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2683, allocations: 3.188 kB / 430.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.115e-05/0.2683, allocations: 75.28 kB / 430.6 MB, free: 38.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2683, allocations: 0 / 430.6 MB, free: 38.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.2685, allocations: 10.72 kB / 430.6 MB, free: 38.14 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 8.457e-05/0.2686, allocations: 96.22 kB / 430.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2687, allocations: 84.48 kB / 430.8 MB, free: 37.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2687, allocations: 8.062 kB / 430.8 MB, free: 37.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.2688, allocations: 69.38 kB / 430.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.269, allocations: 8.312 kB / 430.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.2692, allocations: 95.91 kB / 431 MB, free: 37.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2693, allocations: 0.6713 MB / 431.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.064e-05/0.2693, allocations: 3.281 kB / 431.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.2693, allocations: 10.06 kB / 431.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2693, allocations: 0 / 431.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of Templates: time 0.002651/0.272, allocations: 0.5686 MB / 432.2 MB, free: 37.04 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