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.001042/0.001042, allocations: 102.8 kB / 16.53 MB, free: 6.273 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.001193/0.001193, allocations: 194.1 kB / 17.45 MB, free: 5.895 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.332/1.332, allocations: 205.1 MB / 223.3 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06123/0.06123, allocations: 14.15 MB / 284.8 MB, free: 14.15 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.001442/0.001442, allocations: 67.91 kB / 347.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2152, allocations: 50.12 MB / 397.9 MB, free: 48.55 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001824/0.2171, allocations: 0.7749 MB / 398.6 MB, free: 47.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000195/0.2173, allocations: 31.55 kB / 398.7 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.2174, allocations: 1.062 kB / 398.7 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.2174, allocations: 0 / 398.7 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.696e-05/0.2175, allocations: 4 kB / 398.7 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.2176, allocations: 11.19 kB / 398.7 MB, free: 47.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.2176, allocations: 18.61 kB / 398.7 MB, free: 47.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.2177, allocations: 2.188 kB / 398.7 MB, free: 47.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.2178, allocations: 7.25 kB / 398.7 MB, free: 47.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.2178, allocations: 10.08 kB / 398.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2178, allocations: 1.031 kB / 398.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.2178, allocations: 1.094 kB / 398.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.2179, allocations: 5.078 kB / 398.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.2179, allocations: 7.156 kB / 398.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.786e-05/0.2179, allocations: 6.078 kB / 398.7 MB, free: 47.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.218, allocations: 7.984 kB / 398.7 MB, free: 47.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.218, allocations: 1.188 kB / 398.8 MB, free: 47.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.218, allocations: 0 / 398.8 MB, free: 47.89 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.0002448/0.2182, allocations: 341.5 kB / 399.1 MB, free: 47.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2183, allocations: 9.688 kB / 399.1 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.2183, allocations: 2.031 kB / 399.1 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.968e-05/0.2184, allocations: 165.3 kB / 399.3 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2184, allocations: 1.375 kB / 399.3 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2184, allocations: 6.781 kB / 399.3 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.2185, allocations: 49.75 kB / 399.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2185, allocations: 192 / 399.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2185, allocations: 5.406 kB / 399.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2185, allocations: 0 / 399.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.2186, allocations: 5.312 kB / 399.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.2189, allocations: 247.8 kB / 399.6 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.212e-05/0.219, allocations: 36.42 kB / 399.6 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.219, allocations: 23.73 kB / 399.6 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.2191, allocations: 1.156 kB / 399.6 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2191, allocations: 31.84 kB / 399.7 MB, free: 46.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2191, allocations: 0 / 399.7 MB, free: 46.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001916/0.2193, allocations: 85.98 kB / 399.7 MB, free: 46.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.2193, allocations: 82.2 kB / 399.8 MB, free: 46.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.56e-05/0.2193, allocations: 93.98 kB / 399.9 MB, free: 46.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-06/0.2194, allocations: 27.05 kB / 399.9 MB, free: 46.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.2194, allocations: 80.14 kB / 400 MB, free: 46.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.2194, allocations: 9.203 kB / 400 MB, free: 46.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.2194, allocations: 16.81 kB / 400 MB, free: 46.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.2195, allocations: 312 kB / 400.3 MB, free: 46.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.2195, allocations: 7.5 kB / 400.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.2195, allocations: 12.95 kB / 400.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.071e-05/0.2196, allocations: 78.95 kB / 400.4 MB, free: 46.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2196, allocations: 0 / 400.4 MB, free: 46.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.973e-05/0.2197, allocations: 82.45 kB / 400.5 MB, free: 45.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.2197, allocations: 31.77 kB / 400.6 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2197, allocations: 0 / 400.6 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2197, allocations: 1.156 kB / 400.6 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.2198, allocations: 5.188 kB / 400.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2198, allocations: 0 / 400.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.2198, allocations: 10.45 kB / 400.6 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.2199, allocations: 5.125 kB / 400.6 MB, free: 45.93 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.336e-05/0.2199, allocations: 150.7 kB / 400.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.22, allocations: 6.25 kB / 400.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.22, allocations: 7.078 kB / 400.7 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.22, allocations: 1.125 kB / 400.7 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.22, allocations: 3.984 kB / 400.7 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.22, allocations: 0 / 400.7 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.2201, allocations: 164.9 kB / 400.9 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2201, allocations: 0 / 400.9 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.2201, allocations: 6.25 kB / 400.9 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2201, allocations: 0 / 400.9 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.2201, allocations: 1.125 kB / 400.9 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2202, allocations: 5 kB / 400.9 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2202, allocations: 0 / 400.9 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2204, allocations: 0.7251 MB / 401.6 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.2204, allocations: 81.14 kB / 401.7 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2204, allocations: 2.125 kB / 401.7 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.2205, allocations: 6.297 kB / 401.7 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.2205, allocations: 5.062 kB / 401.7 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.2206, allocations: 1.031 kB / 401.7 MB, free: 44.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.161e-05/0.2206, allocations: 80.41 kB / 401.8 MB, free: 44.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2206, allocations: 0 / 401.8 MB, free: 44.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.2209, allocations: 4.562 kB / 401.8 MB, free: 44.59 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.589e-05/0.221, allocations: 100.7 kB / 401.9 MB, free: 44.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2211, allocations: 87.11 kB / 402 MB, free: 44.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2211, allocations: 0 / 402 MB, free: 44.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.2212, allocations: 69.45 kB / 402.1 MB, free: 44.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.2214, allocations: 2.375 kB / 402.1 MB, free: 44.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.2216, allocations: 223.5 kB / 402.3 MB, free: 44.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.436e-05/0.2217, allocations: 0.6753 MB / 403 MB, free: 43.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.2217, allocations: 12.69 kB / 403 MB, free: 43.39 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2217, allocations: 0 / 403 MB, free: 43.39 MB / 318.1 MB Notification: Performance of Templates: time 0.00177/0.2235, allocations: 0.5323 MB / 403.5 MB, free: 43.13 MB / 318.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/jenkins1/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