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.00121/0.00121, 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.001183/0.001183, allocations: 197.9 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.242/1.242, 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.1768/0.1768, allocations: 16.79 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 373.9 MB, free: 1.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2405, allocations: 53.56 MB / 427.4 MB, free: 41.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001877/0.2424, allocations: 0.6804 MB / 428.1 MB, free: 41.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.2426, allocations: 35.34 kB / 428.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.2426, allocations: 0 / 428.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.2427, allocations: 3.328 kB / 428.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.2427, allocations: 3.938 kB / 428.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.2429, allocations: 7.062 kB / 428.1 MB, free: 41.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.646e-05/0.2429, allocations: 21.48 kB / 428.2 MB, free: 41.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2431, allocations: 13.12 kB / 428.2 MB, free: 41.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.2431, allocations: 5.844 kB / 428.2 MB, free: 41.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.2431, allocations: 6.562 kB / 428.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.2432, allocations: 0 / 428.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-06/0.2432, allocations: 2.562 kB / 428.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2432, allocations: 3.938 kB / 428.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.2432, allocations: 10.09 kB / 428.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.024e-05/0.2433, allocations: 16.06 kB / 428.2 MB, free: 41.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2433, allocations: 0 / 428.2 MB, free: 41.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2433, allocations: 0 / 428.2 MB, free: 41.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2433, allocations: 0 / 428.2 MB, free: 41.33 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.0002042/0.2435, allocations: 345.8 kB / 428.6 MB, free: 40.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.2435, allocations: 9.344 kB / 428.6 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.2436, allocations: 3.75 kB / 428.6 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.188e-05/0.2436, allocations: 171.3 kB / 428.7 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2437, allocations: 11.25 kB / 428.8 MB, free: 40.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.2437, allocations: 384 / 428.8 MB, free: 40.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.2438, allocations: 49.36 kB / 428.8 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2438, allocations: 3.938 kB / 428.8 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2438, allocations: 0 / 428.8 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2438, allocations: 4 kB / 428.8 MB, free: 40.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.076e-05/0.2439, allocations: 9.781 kB / 428.8 MB, free: 40.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.2442, allocations: 240.8 kB / 429.1 MB, free: 40.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.2442, allocations: 38.06 kB / 429.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.2443, allocations: 16.02 kB / 429.1 MB, free: 40.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.2443, allocations: 4 kB / 429.1 MB, free: 40.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2443, allocations: 30.56 kB / 429.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2443, allocations: 0 / 429.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001723/0.2445, allocations: 90 kB / 429.2 MB, free: 40.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.2445, allocations: 81.05 kB / 429.3 MB, free: 40.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.439e-05/0.2446, allocations: 89.86 kB / 429.4 MB, free: 40.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.2446, allocations: 28.92 kB / 429.4 MB, free: 40.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.935e-05/0.2446, allocations: 84.17 kB / 429.5 MB, free: 39.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.2446, allocations: 4 kB / 429.5 MB, free: 39.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.2446, allocations: 20.3 kB / 429.5 MB, free: 39.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.2447, allocations: 310.8 kB / 429.8 MB, free: 39.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.2447, allocations: 6.75 kB / 429.8 MB, free: 39.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.2447, allocations: 10.98 kB / 429.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/0.2448, allocations: 73.14 kB / 429.9 MB, free: 39.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2448, allocations: 3.031 kB / 429.9 MB, free: 39.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.198e-05/0.2449, allocations: 86.98 kB / 430 MB, free: 39.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2449, allocations: 35.08 kB / 430 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2449, allocations: 0 / 430 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2449, allocations: 3.328 kB / 430 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.342e-05/0.245, allocations: 3.031 kB / 430.1 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.245, allocations: 0 / 430.1 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.245, allocations: 3.906 kB / 430.1 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.245, allocations: 2.938 kB / 430.1 MB, free: 39.41 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 4.617e-05/0.2451, allocations: 145.5 kB / 430.2 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.2451, allocations: 7.531 kB / 430.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.097e-05/0.2451, allocations: 3.125 kB / 430.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.2451, allocations: 0 / 430.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2451, allocations: 0 / 430.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2451, allocations: 7.938 kB / 430.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.064e-05/0.2452, allocations: 159.3 kB / 430.4 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2452, allocations: 0 / 430.4 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.2453, allocations: 3.594 kB / 430.4 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2453, allocations: 3.938 kB / 430.4 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.2453, allocations: 0 / 430.4 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2453, allocations: 4 kB / 430.4 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2453, allocations: 0 / 430.4 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.665e-05/0.2454, allocations: 178.7 kB / 430.6 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.2454, allocations: 80.44 kB / 430.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.2454, allocations: 6.812 kB / 430.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.2455, allocations: 3.562 kB / 430.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.2455, allocations: 3.188 kB / 430.7 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2455, allocations: 4.031 kB / 430.7 MB, free: 38.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.01e-05/0.2455, allocations: 78.66 kB / 430.7 MB, free: 38.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2456, allocations: 0 / 430.7 MB, free: 38.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.2458, allocations: 2.906 kB / 430.7 MB, free: 38.69 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 6.244e-05/0.2458, allocations: 102.6 kB / 430.8 MB, free: 38.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.2459, allocations: 77.17 kB / 430.9 MB, free: 38.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2459, allocations: 4 kB / 430.9 MB, free: 38.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.246, allocations: 74.08 kB / 431 MB, free: 38.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.2462, allocations: 16.98 kB / 431 MB, free: 38.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.2464, allocations: 96.98 kB / 431.1 MB, free: 38.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.546e-05/0.2464, allocations: 0.6718 MB / 431.8 MB, free: 37.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.347e-06/0.2465, allocations: 3.328 kB / 431.8 MB, free: 37.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.2465, allocations: 10.31 kB / 431.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2465, allocations: 0 / 431.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of Templates: time 0.002014/0.2485, allocations: 0.5599 MB / 432.3 MB, free: 37.55 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