Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_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.001118/0.001118, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009722/0.009722, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.643/1.643, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06837/0.06837, allocations: 14.16 MB / 284.9 MB, free: 7.039 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.0008774/0.0008775, allocations: 22.44 kB / 348.8 MB, free: 17.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1199, allocations: 51.1 MB / 399.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001015/0.121, allocations: 438.8 kB / 400.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000245/0.1212, allocations: 35.95 kB / 400.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.1213, allocations: 0 / 400.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1213, allocations: 3.938 kB / 400.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.1214, allocations: 0 / 400.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1215, allocations: 8 kB / 400.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.1216, allocations: 19.98 kB / 400.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.1217, allocations: 4 kB / 400.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.1217, allocations: 4 kB / 400.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.1218, allocations: 7.969 kB / 400.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1218, allocations: 4 kB / 400.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.1218, allocations: 0 / 400.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.1219, allocations: 3.938 kB / 400.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1219, allocations: 33.7 kB / 400.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.321e-05/0.122, allocations: 11.97 kB / 400.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.122, allocations: 0 / 400.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.122, allocations: 0 / 400.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.122, allocations: 4 kB / 400.5 MB, free: 13.75 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.0004089/0.1225, allocations: 337.6 kB / 400.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1225, allocations: 8.031 kB / 400.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1226, allocations: 0.9375 kB / 400.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1227, allocations: 176.2 kB / 401 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1227, allocations: 384 / 401 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1227, allocations: 384 / 401 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1229, allocations: 46.19 kB / 401.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1229, allocations: 192 / 401.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1229, allocations: 11.94 kB / 401.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.123, allocations: 0 / 401.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.123, allocations: 11.98 kB / 401.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.1235, allocations: 244.9 kB / 401.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.766e-05/0.1236, allocations: 30.45 kB / 401.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.1236, allocations: 16.95 kB / 401.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.1237, allocations: 11.94 kB / 401.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1237, allocations: 30.56 kB / 401.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.1237, allocations: 4 kB / 401.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002424/0.1239, allocations: 83.3 kB / 401.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.124, allocations: 81.05 kB / 401.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.887e-05/0.1241, allocations: 89.86 kB / 401.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1241, allocations: 29.7 kB / 401.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.1241, allocations: 88.27 kB / 401.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1242, allocations: 7.891 kB / 401.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.1242, allocations: 9.719 kB / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1243, allocations: 314.8 kB / 402.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.1244, allocations: 8 kB / 402.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.1244, allocations: 7.984 kB / 402.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.1245, allocations: 76.27 kB / 402.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1245, allocations: 0 / 402.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.1246, allocations: 83.39 kB / 402.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.1246, allocations: 37.64 kB / 402.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1247, allocations: 0 / 402.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1247, allocations: 3.984 kB / 402.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.562e-05/0.1247, allocations: 0 / 402.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1247, allocations: 0 / 402.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.1248, allocations: 8 kB / 402.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1248, allocations: 3.984 kB / 402.3 MB, free: 11.66 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.831e-05/0.1249, allocations: 139.6 kB / 402.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.1249, allocations: 11.94 kB / 402.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.125, allocations: 3.125 kB / 402.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.125, allocations: 0 / 402.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.125, allocations: 0 / 402.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.125, allocations: 3.938 kB / 402.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1251, allocations: 161.6 kB / 402.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1252, allocations: 0 / 402.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.1252, allocations: 0 / 402.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1252, allocations: 0 / 402.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1252, allocations: 4 kB / 402.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1252, allocations: 8 kB / 402.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.1252, allocations: 0 / 402.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1254, allocations: 181.1 kB / 402.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.1254, allocations: 77.11 kB / 402.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1254, allocations: 4 kB / 402.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.1255, allocations: 3.984 kB / 402.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1256, allocations: 4 kB / 402.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.1256, allocations: 4.031 kB / 402.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.294e-05/0.1256, allocations: 79.22 kB / 403 MB, free: 10.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1256, allocations: 0 / 403 MB, free: 10.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1258, allocations: 8 kB / 403 MB, free: 10.88 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.0001055/0.1259, allocations: 103.2 kB / 403.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.1261, allocations: 75.39 kB / 403.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1261, allocations: 0 / 403.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.67e-05/0.1261, allocations: 71.33 kB / 403.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1264, allocations: 16.06 kB / 403.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.1266, allocations: 90.75 kB / 403.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1269, allocations: 0.6731 MB / 404 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.377e-05/0.1269, allocations: 0 / 404 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.127, allocations: 7.438 kB / 404 MB, free: 9.758 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.127, allocations: 3.938 kB / 404 MB, free: 9.754 MB / 302.1 MB Notification: Performance of Templates: time 0.002538/0.1295, allocations: 0.4997 MB / 404.5 MB, free: 9.266 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches