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.001655/0.001655, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001243/0.001243, allocations: 193.4 kB / 16.25 MB, free: 6.645 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2093/0.2093, allocations: 16.79 MB / 306.9 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 59.91 kB / 373.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2882, allocations: 53.56 MB / 426.9 MB, free: 40.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002395/0.2906, allocations: 0.7537 MB / 427.6 MB, free: 40.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002066/0.2909, allocations: 31.22 kB / 427.7 MB, free: 40.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.2909, allocations: 0 / 427.7 MB, free: 40.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.291, allocations: 4 kB / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.291, allocations: 0 / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.2912, allocations: 9.703 kB / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2913, allocations: 17.22 kB / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2914, allocations: 7.391 kB / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.2915, allocations: 4.938 kB / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.2915, allocations: 12.34 kB / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2915, allocations: 0 / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.2916, allocations: 2.906 kB / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.2916, allocations: 0 / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.2916, allocations: 9.5 kB / 427.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.799e-05/0.2917, allocations: 23.56 kB / 427.8 MB, free: 40.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2917, allocations: 0 / 427.8 MB, free: 40.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2917, allocations: 1.203 kB / 427.8 MB, free: 40.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2917, allocations: 2.875 kB / 427.8 MB, free: 40.62 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.0002881/0.292, allocations: 344.1 kB / 428.1 MB, free: 40.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2921, allocations: 12.31 kB / 428.1 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.2921, allocations: 0.9375 kB / 428.1 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.131e-05/0.2922, allocations: 163.2 kB / 428.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2922, allocations: 4.766 kB / 428.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.2922, allocations: 11.95 kB / 428.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2923, allocations: 42.64 kB / 428.3 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2924, allocations: 192 / 428.3 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2924, allocations: 3.938 kB / 428.3 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2924, allocations: 3.5 kB / 428.3 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.2924, allocations: 11.83 kB / 428.3 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.2928, allocations: 248.2 kB / 428.6 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.2929, allocations: 33.89 kB / 428.6 MB, free: 39.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.2929, allocations: 17.59 kB / 428.6 MB, free: 39.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.2929, allocations: 0.5 kB / 428.6 MB, free: 39.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.293, allocations: 33.81 kB / 428.7 MB, free: 39.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.293, allocations: 2.438 kB / 428.7 MB, free: 39.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001981/0.2932, allocations: 86.84 kB / 428.8 MB, free: 39.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.2932, allocations: 81.23 kB / 428.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.624e-05/0.2932, allocations: 89.86 kB / 428.9 MB, free: 39.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.2932, allocations: 25.7 kB / 428.9 MB, free: 39.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.849e-05/0.2933, allocations: 87.14 kB / 429 MB, free: 39.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.2933, allocations: 3.938 kB / 429 MB, free: 39.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.2933, allocations: 13.84 kB / 429.1 MB, free: 39.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.52e-05/0.2934, allocations: 312.7 kB / 429.4 MB, free: 38.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.2934, allocations: 8.844 kB / 429.4 MB, free: 38.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.2934, allocations: 14 kB / 429.4 MB, free: 38.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.033e-05/0.2935, allocations: 79.03 kB / 429.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2935, allocations: 0 / 429.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.375e-05/0.2936, allocations: 84.52 kB / 429.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.2936, allocations: 31.98 kB / 429.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2936, allocations: 0 / 429.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2936, allocations: 0 / 429.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.2937, allocations: 6.562 kB / 429.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2937, allocations: 0 / 429.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.2938, allocations: 11.41 kB / 429.6 MB, free: 38.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2938, allocations: 0 / 429.6 MB, free: 38.76 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.508e-05/0.2938, allocations: 146.1 kB / 429.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.2939, allocations: 3.938 kB / 429.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.603e-05/0.2939, allocations: 3.125 kB / 429.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2939, allocations: 2.781 kB / 429.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2939, allocations: 3.938 kB / 429.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2939, allocations: 0 / 429.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.294, allocations: 158.1 kB / 429.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.294, allocations: 4 kB / 429.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.2941, allocations: 2.875 kB / 429.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2941, allocations: 0 / 429.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.2941, allocations: 0 / 429.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2941, allocations: 0 / 429.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2941, allocations: 3.312 kB / 429.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2942, allocations: 183.1 kB / 430.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.2942, allocations: 77.11 kB / 430.2 MB, free: 38.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2942, allocations: 4.031 kB / 430.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.2943, allocations: 2.625 kB / 430.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.2944, allocations: 10.36 kB / 430.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2944, allocations: 0 / 430.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.285e-05/0.2944, allocations: 75.28 kB / 430.3 MB, free: 38.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2944, allocations: 0 / 430.3 MB, free: 38.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.2947, allocations: 9.562 kB / 430.3 MB, free: 38.07 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.000102/0.2948, allocations: 100.5 kB / 430.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.2949, allocations: 89.03 kB / 430.4 MB, free: 37.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2949, allocations: 0 / 430.4 MB, free: 37.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.2949, allocations: 68.91 kB / 430.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.2952, allocations: 6.172 kB / 430.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.2954, allocations: 102.9 kB / 430.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.968e-05/0.2955, allocations: 0.6722 MB / 431.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.205e-05/0.2955, allocations: 2.75 kB / 431.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.2955, allocations: 11.56 kB / 431.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2955, allocations: 0 / 431.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of Templates: time 0.002299/0.2978, allocations: 0.5274 MB / 431.8 MB, free: 36.96 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