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.004764/0.004764, allocations: 104.4 kB / 15.88 MB, free: 6.285 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.001228/0.001228, allocations: 197.1 kB / 16.8 MB, free: 6.223 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.211/1.211, allocations: 205.1 MB / 222.7 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05899/0.05899, allocations: 14.15 MB / 284.1 MB, free: 7.281 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.001601/0.001601, allocations: 71.91 kB / 347.1 MB, free: 17.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07944/0.08105, allocations: 50.14 MB / 397.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00194/0.08303, allocations: 0.7618 MB / 398 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002217/0.08328, allocations: 35.89 kB / 398 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.08331, allocations: 0 / 398 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.08335, allocations: 0 / 398 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.0834, allocations: 0 / 398 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.08354, allocations: 7.938 kB / 398 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.08361, allocations: 15.98 kB / 398.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.573e-05/0.08369, allocations: 4 kB / 398.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.08372, allocations: 11.92 kB / 398.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.08377, allocations: 11.92 kB / 398.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.08379, allocations: 4 kB / 398.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.0838, allocations: 0 / 398.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.08382, allocations: 4 kB / 398.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.08386, allocations: 4 kB / 398.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.104e-05/0.08393, allocations: 19.91 kB / 398.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.08394, allocations: 0 / 398.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.08395, allocations: 0 / 398.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.08396, allocations: 0 / 398.1 MB, free: 14.71 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.0003093/0.08427, allocations: 345.6 kB / 398.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.08431, allocations: 8.031 kB / 398.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.08435, allocations: 0.9375 kB / 398.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.08444, allocations: 168.3 kB / 398.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.08446, allocations: 4.375 kB / 398.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.08447, allocations: 384 / 398.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.08458, allocations: 42.25 kB / 398.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.0846, allocations: 192 / 398.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.08462, allocations: 11.92 kB / 398.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.08462, allocations: 3.938 kB / 398.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.801e-05/0.08466, allocations: 8 kB / 398.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.08503, allocations: 249 kB / 398.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.08509, allocations: 30.52 kB / 399 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.08513, allocations: 20.92 kB / 399 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/0.08514, allocations: 0 / 399 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.08517, allocations: 34.5 kB / 399 MB, free: 13.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.08517, allocations: 0 / 399 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000178/0.08536, allocations: 95.28 kB / 399.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.0854, allocations: 81.11 kB / 399.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.643e-05/0.08544, allocations: 89.86 kB / 399.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.08546, allocations: 25.7 kB / 399.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.08549, allocations: 84.14 kB / 399.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.08552, allocations: 3.906 kB / 399.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.08555, allocations: 13.72 kB / 399.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.808e-05/0.08565, allocations: 314.8 kB / 399.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.08568, allocations: 12.11 kB / 399.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.0857, allocations: 8 kB / 399.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.08577, allocations: 84.19 kB / 399.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.08577, allocations: 0 / 399.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.987e-05/0.08587, allocations: 83.28 kB / 399.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.08591, allocations: 36.19 kB / 399.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.08592, allocations: 0 / 399.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.08593, allocations: 3.938 kB / 399.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.455e-05/0.08597, allocations: 4.094 kB / 399.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.08598, allocations: 4 kB / 399.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.08603, allocations: 0 / 399.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.08604, allocations: 4 kB / 399.9 MB, free: 12.61 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 7.341e-05/0.08612, allocations: 143.5 kB / 400.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.08615, allocations: 7.938 kB / 400.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.08617, allocations: 3.125 kB / 400.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.08618, allocations: 0 / 400.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.08618, allocations: 3.984 kB / 400.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.08619, allocations: 7.938 kB / 400.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.08633, allocations: 153.6 kB / 400.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.08634, allocations: 0 / 400.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.08635, allocations: 4 kB / 400.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.08636, allocations: 0 / 400.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.08637, allocations: 3.984 kB / 400.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.08638, allocations: 0 / 400.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.08638, allocations: 0 / 400.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.08672, allocations: 0.7335 MB / 401 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.08676, allocations: 77.11 kB / 401.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.08678, allocations: 0 / 401.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.08685, allocations: 4 kB / 401.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.08689, allocations: 3.984 kB / 401.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.0869, allocations: 8 kB / 401.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.593e-05/0.08693, allocations: 79.22 kB / 401.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08694, allocations: 0 / 401.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000312/0.08726, allocations: 8.031 kB / 401.2 MB, free: 11.23 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 8.563e-05/0.08735, allocations: 103.2 kB / 401.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.08747, allocations: 75.39 kB / 401.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.08748, allocations: 0 / 401.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.08753, allocations: 71.34 kB / 401.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.08772, allocations: 7.984 kB / 401.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.08797, allocations: 201.4 kB / 401.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.08818, allocations: 0.6731 MB / 402.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.16e-05/0.0882, allocations: 0 / 402.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.08822, allocations: 7.438 kB / 402.3 MB, free: 10 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.08822, allocations: 4 kB / 402.3 MB, free: 10 MB / 302.1 MB Notification: Performance of Templates: time 0.002151/0.09038, allocations: 0.4931 MB / 402.8 MB, free: 9.52 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=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","../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches