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.001372/0.001372, allocations: 116.1 kB / 16.42 MB, free: 6.461 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.001858/0.001858, allocations: 185.5 kB / 17.35 MB, free: 5.711 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.559/1.559, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06782/0.06782, allocations: 14.17 MB / 284.8 MB, free: 13.85 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.002145/0.002145, allocations: 80.8 kB / 399.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1064, allocations: 50.13 MB / 449.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002056/0.1085, allocations: 0.7064 MB / 450.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.1088, allocations: 23.97 kB / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.1089, allocations: 4 kB / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.1089, allocations: 3.938 kB / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.109, allocations: 0 / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.1091, allocations: 7.984 kB / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1092, allocations: 23.98 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.1093, allocations: 3.984 kB / 450.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.1094, allocations: 11.94 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.1094, allocations: 7.984 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1095, allocations: 0 / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.1095, allocations: 0 / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.1095, allocations: 4 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.1095, allocations: 12 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.694e-05/0.1096, allocations: 19.91 kB / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1096, allocations: 3.938 kB / 450.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1096, allocations: 0 / 450.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1097, allocations: 0 / 450.3 MB, free: 10.72 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.0004205/0.1101, allocations: 349.2 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1101, allocations: 8.031 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1102, allocations: 4.938 kB / 450.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1103, allocations: 160.4 kB / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1103, allocations: 4.375 kB / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1103, allocations: 4.375 kB / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1105, allocations: 42.25 kB / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1105, allocations: 192 / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1105, allocations: 7.938 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1105, allocations: 0 / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.1105, allocations: 11.98 kB / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.111, allocations: 244.9 kB / 451.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.1111, allocations: 38.48 kB / 451.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.1111, allocations: 16.92 kB / 451.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1112, allocations: 0 / 451.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1112, allocations: 34.56 kB / 451.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1112, allocations: 0 / 451.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002275/0.1114, allocations: 87.33 kB / 451.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.1115, allocations: 85.23 kB / 451.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.1116, allocations: 89.86 kB / 451.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1116, allocations: 29.69 kB / 451.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.1116, allocations: 92.02 kB / 451.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.1117, allocations: 7.953 kB / 451.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1117, allocations: 13.72 kB / 451.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1119, allocations: 310.8 kB / 451.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.1119, allocations: 8 kB / 451.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.1119, allocations: 15.98 kB / 451.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/0.112, allocations: 72.27 kB / 452 MB, free: 8.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.112, allocations: 0 / 452 MB, free: 8.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001134/0.1122, allocations: 87.27 kB / 452 MB, free: 8.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.1122, allocations: 29.7 kB / 452.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1122, allocations: 4 kB / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1122, allocations: 0 / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.1123, allocations: 0 / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1123, allocations: 0 / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.1123, allocations: 12.08 kB / 452.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1123, allocations: 4 kB / 452.1 MB, free: 8.617 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.0001037/0.1125, allocations: 139.5 kB / 452.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.1125, allocations: 3.938 kB / 452.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.1125, allocations: 7.078 kB / 452.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1125, allocations: 4 kB / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.1125, allocations: 7.969 kB / 452.2 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1125, allocations: 0 / 452.2 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.1127, allocations: 157.6 kB / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1127, allocations: 4 kB / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.1128, allocations: 0 / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1128, allocations: 0 / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1128, allocations: 0 / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1128, allocations: 4 kB / 452.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1128, allocations: 3.938 kB / 452.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.1134, allocations: 0.9588 MB / 453.4 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.1135, allocations: 81.09 kB / 453.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1135, allocations: 0 / 453.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.1136, allocations: 11.94 kB / 453.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1136, allocations: 3.938 kB / 453.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1136, allocations: 4 kB / 453.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.478e-05/0.1137, allocations: 79.28 kB / 453.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1137, allocations: 3.938 kB / 453.5 MB, free: 7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000314/0.114, allocations: 8 kB / 453.6 MB, free: 6.992 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.0001376/0.1141, allocations: 103.2 kB / 453.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1143, allocations: 79.39 kB / 453.7 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1143, allocations: 0 / 453.7 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.1144, allocations: 67.34 kB / 453.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.1146, allocations: 4.781 kB / 453.8 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.1149, allocations: 195.9 kB / 454 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1152, allocations: 0.6768 MB / 454.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.108e-05/0.1152, allocations: 0 / 454.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.1153, allocations: 7.438 kB / 454.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1153, allocations: 0 / 454.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of Templates: time 0.002913/0.1182, allocations: 0.5588 MB / 455.2 MB, free: 5.219 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