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.001521/0.001521, allocations: 101.1 kB / 15.99 MB, free: 6.359 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.00159/0.00159, allocations: 198.2 kB / 16.92 MB, free: 6.195 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.58/1.58, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06145/0.06145, allocations: 14.16 MB / 284.3 MB, free: 7.246 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.001392/0.001392, allocations: 71.91 kB / 347.3 MB, free: 17.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1148, allocations: 50.13 MB / 397.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00223/0.1171, allocations: 0.7699 MB / 398.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.1173, allocations: 23.91 kB / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.1173, allocations: 0 / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.1174, allocations: 3.984 kB / 398.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.1175, allocations: 0 / 398.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1176, allocations: 8 kB / 398.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.1177, allocations: 19.98 kB / 398.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.1178, allocations: 4 kB / 398.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.1179, allocations: 15.92 kB / 398.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.1179, allocations: 3.984 kB / 398.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1179, allocations: 4 kB / 398.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.118, allocations: 7.938 kB / 398.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.118, allocations: 0 / 398.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.118, allocations: 8 kB / 398.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.613e-05/0.1181, allocations: 15.97 kB / 398.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1181, allocations: 0 / 398.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1181, allocations: 0 / 398.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1181, allocations: 0 / 398.3 MB, free: 14.62 MB / 302.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.0003746/0.1185, allocations: 341.6 kB / 398.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1186, allocations: 8.031 kB / 398.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1186, allocations: 4.922 kB / 398.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1187, allocations: 168.3 kB / 398.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1187, allocations: 4.375 kB / 398.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1188, allocations: 4.312 kB / 398.8 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1189, allocations: 42.25 kB / 398.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1189, allocations: 192 / 398.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1189, allocations: 3.938 kB / 398.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1189, allocations: 4 kB / 398.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.119, allocations: 15.92 kB / 398.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.1194, allocations: 248.9 kB / 399.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.1195, allocations: 30.55 kB / 399.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.1195, allocations: 16.92 kB / 399.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1196, allocations: 0 / 399.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1196, allocations: 38.5 kB / 399.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.1196, allocations: 3.938 kB / 399.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001945/0.1198, allocations: 91.3 kB / 399.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1198, allocations: 77.11 kB / 399.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.743e-05/0.1199, allocations: 89.86 kB / 399.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1199, allocations: 29.7 kB / 399.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.12, allocations: 80.14 kB / 399.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.12, allocations: 11.89 kB / 399.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.12, allocations: 13.72 kB / 399.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.1201, allocations: 311 kB / 399.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.1202, allocations: 12 kB / 399.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.1202, allocations: 7.984 kB / 399.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.818e-05/0.1202, allocations: 84.2 kB / 400 MB, free: 12.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1203, allocations: 0 / 400 MB, free: 12.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.607e-05/0.1204, allocations: 79.33 kB / 400.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.1204, allocations: 33.7 kB / 400.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1204, allocations: 3.984 kB / 400.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1204, allocations: 0 / 400.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.1205, allocations: 8.094 kB / 400.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1205, allocations: 0 / 400.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.1205, allocations: 3.984 kB / 400.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1205, allocations: 4 kB / 400.1 MB, free: 12.51 MB / 302.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 8.85e-05/0.1206, allocations: 139.5 kB / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.1207, allocations: 3.938 kB / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.405e-05/0.1207, allocations: 3.125 kB / 400.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1207, allocations: 0 / 400.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1207, allocations: 3.938 kB / 400.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1207, allocations: 4 kB / 400.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1209, allocations: 169.5 kB / 400.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1209, allocations: 0 / 400.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.1209, allocations: 4 kB / 400.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1209, allocations: 0 / 400.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1209, allocations: 0 / 400.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1209, allocations: 0 / 400.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1209, allocations: 0 / 400.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.1214, allocations: 0.9627 MB / 401.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.1214, allocations: 77.11 kB / 401.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1214, allocations: 7.984 kB / 401.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.1215, allocations: 3.938 kB / 401.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.1216, allocations: 8 kB / 401.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1216, allocations: 8.031 kB / 401.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.587e-05/0.1216, allocations: 75.28 kB / 401.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1216, allocations: 0 / 401.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.122, allocations: 7.938 kB / 401.6 MB, free: 10.89 MB / 302.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.0001031/0.1221, allocations: 107.2 kB / 401.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1222, allocations: 83.33 kB / 401.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1222, allocations: 0 / 401.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.1223, allocations: 63.47 kB / 401.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1225, allocations: 8.062 kB / 401.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.1228, allocations: 203.5 kB / 402.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1231, allocations: 0.6729 MB / 402.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.308e-05/0.1231, allocations: 4 kB / 402.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.1231, allocations: 11.44 kB / 402.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1231, allocations: 0 / 402.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of Templates: time 0.002612/0.1257, allocations: 0.5114 MB / 403.3 MB, free: 9.148 MB / 302.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","../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches