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.005462/0.005462, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001326/0.001326, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.172/0.172, allocations: 16.76 MB / 307.3 MB, free: 14.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 69.95 kB / 428.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08834, allocations: 53.56 MB / 482.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001474/0.08985, allocations: 0.6917 MB / 483 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001388/0.09, allocations: 30.22 kB / 483 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.09004, allocations: 0 / 483 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.09008, allocations: 3.984 kB / 483 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.09013, allocations: 9.25 kB / 483 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.09025, allocations: 5.281 kB / 483 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.09034, allocations: 16.42 kB / 483 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.09042, allocations: 14.59 kB / 483 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.09045, allocations: 7.953 kB / 483 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.09051, allocations: 10.52 kB / 483 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.09052, allocations: 1.312 kB / 483.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.09054, allocations: 1.25 kB / 483.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.09055, allocations: 1.406 kB / 483.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.09058, allocations: 6.062 kB / 483.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.482e-05/0.09065, allocations: 16.56 kB / 483.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.09066, allocations: 0 / 483.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09067, allocations: 0 / 483.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.09067, allocations: 0 / 483.1 MB, free: 8.566 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.0002175/0.0909, allocations: 355.4 kB / 483.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.09094, allocations: 9.531 kB / 483.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.09097, allocations: 2.156 kB / 483.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.791e-05/0.09102, allocations: 169.5 kB / 483.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.09104, allocations: 5.656 kB / 483.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.09105, allocations: 2.688 kB / 483.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.09115, allocations: 45.7 kB / 483.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.09116, allocations: 192 / 483.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.09118, allocations: 5.188 kB / 483.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.09119, allocations: 4 kB / 483.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.09122, allocations: 12.89 kB / 483.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.09153, allocations: 239.5 kB / 483.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.09158, allocations: 41.14 kB / 483.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.09162, allocations: 17.05 kB / 484 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.09163, allocations: 4 kB / 484 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.09165, allocations: 30.56 kB / 484 MB, free: 7.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.09166, allocations: 1.688 kB / 484 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001609/0.09182, allocations: 85.77 kB / 484.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.09185, allocations: 85.03 kB / 484.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.406e-05/0.09187, allocations: 89.86 kB / 484.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.09188, allocations: 27.7 kB / 484.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.0919, allocations: 80.27 kB / 484.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.09192, allocations: 13.61 kB / 484.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.09195, allocations: 17.53 kB / 484.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.328e-05/0.09199, allocations: 314.8 kB / 484.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.09202, allocations: 11.98 kB / 484.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.09203, allocations: 4.094 kB / 484.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.09208, allocations: 75.42 kB / 484.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.09209, allocations: 0 / 484.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.418e-05/0.09217, allocations: 90.27 kB / 484.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.0922, allocations: 31.83 kB / 484.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.09221, allocations: 0 / 484.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.09222, allocations: 1.406 kB / 484.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.303e-05/0.09226, allocations: 5.422 kB / 484.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.09227, allocations: 0 / 484.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.09232, allocations: 3.062 kB / 484.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.09233, allocations: 0 / 484.9 MB, free: 6.586 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.689e-05/0.09238, allocations: 139.8 kB / 485.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.09241, allocations: 9.375 kB / 485.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.195e-05/0.09243, allocations: 7.109 kB / 485.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.09243, allocations: 0.9375 kB / 485.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.09244, allocations: 0 / 485.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.09245, allocations: 1.375 kB / 485.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.431e-05/0.09255, allocations: 156.2 kB / 485.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.09255, allocations: 0 / 485.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.09257, allocations: 1.406 kB / 485.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.09257, allocations: 1.406 kB / 485.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.09258, allocations: 0 / 485.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.09259, allocations: 9.375 kB / 485.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.09259, allocations: 0 / 485.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.791e-05/0.0927, allocations: 193.2 kB / 485.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.09272, allocations: 77.11 kB / 485.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.09273, allocations: 5.5 kB / 485.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.09282, allocations: 2.625 kB / 485.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.09287, allocations: 1.281 kB / 485.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.09288, allocations: 9.047 kB / 485.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.006e-05/0.09289, allocations: 76.38 kB / 485.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0929, allocations: 0 / 485.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002079/0.09311, allocations: 5.281 kB / 485.6 MB, free: 5.844 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 7.466e-05/0.09319, allocations: 97.28 kB / 485.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.09329, allocations: 78.73 kB / 485.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0933, allocations: 0 / 485.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.09334, allocations: 69.25 kB / 485.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.09354, allocations: 12.53 kB / 485.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001729/0.09372, allocations: 96.64 kB / 485.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.09381, allocations: 0.6793 MB / 486.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.588e-06/0.09382, allocations: 1.406 kB / 486.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.09384, allocations: 8.719 kB / 486.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09384, allocations: 0 / 486.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of Templates: time 0.002501/0.09635, allocations: 0.5685 MB / 487.2 MB, free: 4.488 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