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.001452/0.001452, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.001932/0.001932, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06085/0.06085, allocations: 14.18 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.001458/0.001458, allocations: 63.81 kB / 348.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2088, allocations: 50.11 MB / 398.7 MB, free: 48.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00188/0.2108, allocations: 0.7028 MB / 399.4 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000149/0.2109, allocations: 22.67 kB / 399.5 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.211, allocations: 0 / 399.5 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.211, allocations: 3.938 kB / 399.5 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/0.2111, allocations: 1.344 kB / 399.5 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.2112, allocations: 5.469 kB / 399.5 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.2113, allocations: 29.14 kB / 399.5 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.328e-05/0.2114, allocations: 6.312 kB / 399.5 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.2114, allocations: 11.83 kB / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.2115, allocations: 5.281 kB / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2115, allocations: 2.281 kB / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.2115, allocations: 1.562 kB / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2115, allocations: 1.406 kB / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.2116, allocations: 10.56 kB / 399.5 MB, free: 48.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.758e-05/0.2116, allocations: 22.45 kB / 399.6 MB, free: 48.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2117, allocations: 1.156 kB / 399.6 MB, free: 48.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2117, allocations: 3.938 kB / 399.6 MB, free: 48.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2117, allocations: 4 kB / 399.6 MB, free: 48.14 MB / 318.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.0002474/0.2119, allocations: 343.9 kB / 399.9 MB, free: 47.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.212, allocations: 8.812 kB / 399.9 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.212, allocations: 2.219 kB / 399.9 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.717e-05/0.2121, allocations: 165.6 kB / 400.1 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.2121, allocations: 1.594 kB / 400.1 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2121, allocations: 2.719 kB / 400.1 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/0.2122, allocations: 41.56 kB / 400.1 MB, free: 47.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2122, allocations: 8.172 kB / 400.1 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2122, allocations: 5.156 kB / 400.1 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2122, allocations: 0 / 400.1 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.2123, allocations: 13.88 kB / 400.2 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.2126, allocations: 243.6 kB / 400.4 MB, free: 47.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/0.2127, allocations: 29.08 kB / 400.4 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.2127, allocations: 19.45 kB / 400.4 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.2127, allocations: 0 / 400.4 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.2128, allocations: 35.7 kB / 400.5 MB, free: 47.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2128, allocations: 0 / 400.5 MB, free: 47.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.213, allocations: 89.39 kB / 400.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.213, allocations: 78.61 kB / 400.6 MB, free: 46.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.834e-05/0.213, allocations: 89.86 kB / 400.7 MB, free: 46.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.213, allocations: 27.14 kB / 400.8 MB, free: 46.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.2131, allocations: 84.27 kB / 400.8 MB, free: 46.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.2131, allocations: 9.281 kB / 400.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.2131, allocations: 14.03 kB / 400.9 MB, free: 46.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.2132, allocations: 314.8 kB / 401.2 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.2132, allocations: 8.375 kB / 401.2 MB, free: 46.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.2132, allocations: 4.781 kB / 401.2 MB, free: 46.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.2133, allocations: 82.62 kB / 401.3 MB, free: 46.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2133, allocations: 4.062 kB / 401.3 MB, free: 46.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.368e-05/0.2134, allocations: 78.16 kB / 401.3 MB, free: 46.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2134, allocations: 40.25 kB / 401.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2134, allocations: 0 / 401.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2134, allocations: 0 / 401.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.2134, allocations: 2.438 kB / 401.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2135, allocations: 3.938 kB / 401.4 MB, free: 46.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.2135, allocations: 10.38 kB / 401.4 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2135, allocations: 5.359 kB / 401.4 MB, free: 46.18 MB / 318.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 5.068e-05/0.2136, allocations: 147.2 kB / 401.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2136, allocations: 5.312 kB / 401.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311e-05/0.2136, allocations: 7.078 kB / 401.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2136, allocations: 1.094 kB / 401.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2136, allocations: 0 / 401.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2136, allocations: 0 / 401.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.486e-05/0.2137, allocations: 157 kB / 401.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2138, allocations: 4 kB / 401.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-06/0.2138, allocations: 2.656 kB / 401.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2138, allocations: 0 / 401.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2138, allocations: 13.23 kB / 401.7 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2138, allocations: 0 / 401.7 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2138, allocations: 1.188 kB / 401.7 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.743e-05/0.2139, allocations: 178.7 kB / 401.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.2139, allocations: 77.11 kB / 402 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2139, allocations: 1.906 kB / 402 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.214, allocations: 2.719 kB / 402 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.2141, allocations: 9.359 kB / 402 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2141, allocations: 1.312 kB / 402 MB, free: 45.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.465e-05/0.2141, allocations: 75.28 kB / 402.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2141, allocations: 0 / 402.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.2143, allocations: 5.219 kB / 402.1 MB, free: 45.44 MB / 318.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 7.467e-05/0.2144, allocations: 100.4 kB / 402.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.2145, allocations: 79.2 kB / 402.3 MB, free: 45.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2145, allocations: 4 kB / 402.3 MB, free: 45.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.2146, allocations: 69.84 kB / 402.3 MB, free: 45.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2148, allocations: 17.72 kB / 402.3 MB, free: 45.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.215, allocations: 88.38 kB / 402.4 MB, free: 45.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.767e-05/0.2151, allocations: 0.6753 MB / 403.1 MB, free: 44.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.113e-05/0.2151, allocations: 0 / 403.1 MB, free: 44.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.2151, allocations: 12.69 kB / 403.1 MB, free: 44.38 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2151, allocations: 1.188 kB / 403.1 MB, free: 44.38 MB / 318.1 MB Notification: Performance of Templates: time 0.002274/0.2174, allocations: 0.563 MB / 403.7 MB, free: 44.09 MB / 318.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 -s cvode -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches