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.001068/0.001068, allocations: 112.8 kB / 16.42 MB, free: 6.496 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.00108/0.00108, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06238/0.06238, 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.002673/0.002673, allocations: 75.64 kB / 399.3 MB, free: 42.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1359, allocations: 50.13 MB / 449.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002934/0.1389, allocations: 0.6908 MB / 450.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.1392, allocations: 31.97 kB / 450.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.1393, allocations: 0 / 450.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.1393, allocations: 3.938 kB / 450.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.817e-05/0.1394, allocations: 0 / 450.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.1396, allocations: 19.97 kB / 450.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1397, allocations: 20 kB / 450.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.1399, allocations: 3.984 kB / 450.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.1399, allocations: 7.938 kB / 450.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.14, allocations: 11.98 kB / 450.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.14, allocations: 0 / 450.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.14, allocations: 8 kB / 450.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.14, allocations: 0 / 450.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.1401, allocations: 8 kB / 450.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.1402, allocations: 19.84 kB / 450.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1402, allocations: 7.984 kB / 450.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1402, allocations: 0 / 450.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1402, 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.0003889/0.1406, allocations: 337.3 kB / 450.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1407, allocations: 12.03 kB / 450.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1407, allocations: 0.9375 kB / 450.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1408, allocations: 172.3 kB / 450.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1408, allocations: 384 / 450.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1409, allocations: 4.375 kB / 450.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.141, allocations: 42.25 kB / 450.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.141, allocations: 192 / 450.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.141, allocations: 3.938 kB / 450.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.141, allocations: 0 / 450.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.1411, allocations: 11.94 kB / 450.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.1416, allocations: 248.9 kB / 451.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.333e-05/0.1417, allocations: 30.52 kB / 451.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.1417, allocations: 16.95 kB / 451.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1417, allocations: 4 kB / 451.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.1418, allocations: 30.56 kB / 451.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.1418, allocations: 0 / 451.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002421/0.142, allocations: 91.33 kB / 451.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.1421, allocations: 81.11 kB / 451.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.1421, allocations: 89.86 kB / 451.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1422, allocations: 25.7 kB / 451.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.1422, allocations: 84.08 kB / 451.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1422, allocations: 11.89 kB / 451.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.1423, allocations: 13.72 kB / 451.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1424, allocations: 314.8 kB / 451.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.1424, allocations: 12.12 kB / 451.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.1425, allocations: 7.984 kB / 451.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.1425, allocations: 72.27 kB / 451.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1426, allocations: 0 / 451.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.1427, allocations: 87.27 kB / 452 MB, free: 8.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.1427, allocations: 34.64 kB / 452 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1427, allocations: 0 / 452 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1428, allocations: 0 / 452 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.517e-05/0.1428, allocations: 96 / 452 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1428, allocations: 4 kB / 452 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.1429, allocations: 7.984 kB / 452.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1429, allocations: 0 / 452.1 MB, free: 8.754 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 9.057e-05/0.143, allocations: 143.5 kB / 452.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.143, allocations: 11.94 kB / 452.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.1431, allocations: 7.078 kB / 452.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1431, allocations: 0 / 452.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1431, allocations: 0 / 452.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1431, allocations: 0 / 452.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1432, allocations: 165.6 kB / 452.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1432, allocations: 3.984 kB / 452.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.1433, allocations: 3.938 kB / 452.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1433, allocations: 0 / 452.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1433, allocations: 4 kB / 452.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1433, allocations: 0 / 452.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1433, allocations: 3.938 kB / 452.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.1438, allocations: 0.9588 MB / 453.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.1439, allocations: 81.02 kB / 453.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1439, allocations: 3.984 kB / 453.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.144, allocations: 7.938 kB / 453.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1441, allocations: 0 / 453.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1441, allocations: 4 kB / 453.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.22e-05/0.1441, allocations: 83.31 kB / 453.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1441, allocations: 3.938 kB / 453.5 MB, free: 7.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1445, allocations: 7.938 kB / 453.5 MB, free: 7.117 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.000104/0.1446, allocations: 99.23 kB / 453.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.1448, allocations: 75.41 kB / 453.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1448, allocations: 0 / 453.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.1448, allocations: 75.33 kB / 453.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1451, allocations: 4.125 kB / 453.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.1454, allocations: 195.8 kB / 454 MB, free: 6.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1456, allocations: 0.6729 MB / 454.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.382e-05/0.1457, allocations: 0 / 454.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.1457, allocations: 11.44 kB / 454.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1457, allocations: 0 / 454.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of Templates: time 0.002615/0.1483, allocations: 0.5669 MB / 455.2 MB, free: 5.34 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches