Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_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.001211/0.001211, allocations: 115.5 kB / 16.42 MB, free: 6.023 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.001134/0.001134, allocations: 188.1 kB / 17.35 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06701/0.06701, allocations: 14.16 MB / 284.7 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.78 kB / 399.3 MB, free: 42.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07391/0.07594, allocations: 50.14 MB / 449.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001725/0.07769, allocations: 0.6986 MB / 450.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.07786, allocations: 31.95 kB / 450.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.07791, allocations: 4 kB / 450.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.07794, allocations: 3.938 kB / 450.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.07799, allocations: 0 / 450.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.07812, allocations: 4 kB / 450.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.07824, allocations: 15.98 kB / 450.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.07833, allocations: 8 kB / 450.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.07836, allocations: 11.92 kB / 450.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.07842, allocations: 8 kB / 450.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.07844, allocations: 0 / 450.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.07845, allocations: 0 / 450.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.07847, allocations: 7.984 kB / 450.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.07851, allocations: 11.98 kB / 450.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.041e-05/0.07858, allocations: 15.92 kB / 450.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.0786, allocations: 0 / 450.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0786, allocations: 3.938 kB / 450.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.07861, allocations: 0 / 450.2 MB, free: 10.84 MB / 334.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.0003582/0.07898, allocations: 349.2 kB / 450.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.07901, allocations: 8.031 kB / 450.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.07905, allocations: 4.938 kB / 450.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.07916, allocations: 160.4 kB / 450.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.07918, allocations: 8.375 kB / 450.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.0792, allocations: 8.359 kB / 450.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.07933, allocations: 42.25 kB / 450.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.07934, allocations: 192 / 450.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.07936, allocations: 3.938 kB / 450.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.07937, allocations: 0 / 450.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.07941, allocations: 8 kB / 450.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.07983, allocations: 248.9 kB / 451.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.59e-05/0.07991, allocations: 30.52 kB / 451.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.07996, allocations: 20.91 kB / 451.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.07997, allocations: 3.938 kB / 451.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.08001, allocations: 34.56 kB / 451.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.08002, allocations: 0 / 451.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.08023, allocations: 87.33 kB / 451.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.08029, allocations: 85.23 kB / 451.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.08034, allocations: 89.86 kB / 451.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.08036, allocations: 29.64 kB / 451.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.08041, allocations: 84.09 kB / 451.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.08043, allocations: 3.953 kB / 451.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.08047, allocations: 17.72 kB / 451.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.0806, allocations: 314.8 kB / 451.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.08063, allocations: 8 kB / 451.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.08065, allocations: 12 kB / 451.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.496e-05/0.08073, allocations: 76.25 kB / 451.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.08074, allocations: 0 / 451.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001053/0.08085, allocations: 87.27 kB / 452 MB, free: 8.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.08089, allocations: 29.7 kB / 452.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.0809, allocations: 4 kB / 452.1 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.08092, allocations: 0 / 452.1 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.08096, allocations: 4 kB / 452.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.08097, allocations: 0 / 452.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.08103, allocations: 8.094 kB / 452.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.08104, allocations: 0 / 452.1 MB, free: 8.734 MB / 334.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 0.0001062/0.08115, allocations: 147.5 kB / 452.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.08118, allocations: 3.938 kB / 452.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.0812, allocations: 7.078 kB / 452.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.08121, allocations: 4 kB / 452.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.08121, allocations: 3.984 kB / 452.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.08122, allocations: 0 / 452.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.08138, allocations: 157.6 kB / 452.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.08139, allocations: 4 kB / 452.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.0814, allocations: 3.984 kB / 452.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.08141, allocations: 0 / 452.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.08142, allocations: 0 / 452.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.08143, allocations: 4 kB / 452.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.08143, allocations: 0 / 452.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.08196, allocations: 0.9626 MB / 453.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.08201, allocations: 77.11 kB / 453.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.08203, allocations: 0 / 453.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.08211, allocations: 7.938 kB / 453.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.08216, allocations: 3.984 kB / 453.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.08217, allocations: 0 / 453.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.08222, allocations: 87.16 kB / 453.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08222, allocations: 0 / 453.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.08255, allocations: 8 kB / 453.5 MB, free: 7.109 MB / 334.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.0001103/0.08266, allocations: 99.25 kB / 453.6 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.08281, allocations: 75.39 kB / 453.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.08282, allocations: 0 / 453.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.08288, allocations: 75.33 kB / 453.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.08309, allocations: 8.875 kB / 453.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.08336, allocations: 195.9 kB / 454 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.08365, allocations: 0.6729 MB / 454.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.544e-06/0.08366, allocations: 0 / 454.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.08368, allocations: 7.438 kB / 454.7 MB, free: 5.883 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.08369, allocations: 0 / 454.7 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Templates: time 0.8396/0.9232, allocations: 0.5639 MB / 455.2 MB, free: 5.332 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches