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.001447/0.001447, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.0017/0.0017, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06424/0.06424, allocations: 14.17 MB / 284.7 MB, free: 13.87 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.001554/0.001554, allocations: 72.28 kB / 399.3 MB, free: 42.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08009/0.08165, allocations: 50.13 MB / 449.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00208/0.08377, allocations: 0.7102 MB / 450.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.08398, allocations: 31.95 kB / 450.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.08403, allocations: 0 / 450.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.08409, allocations: 3.938 kB / 450.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.08415, allocations: 0 / 450.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.08431, allocations: 7.984 kB / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.08442, allocations: 19.98 kB / 450.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.08452, allocations: 8 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.793e-05/0.08455, allocations: 15.92 kB / 450.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.08461, allocations: 7.984 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.08463, allocations: 0 / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-06/0.08464, allocations: 0 / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.08466, allocations: 4 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.0847, allocations: 4 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.372e-05/0.08478, allocations: 23.84 kB / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.08479, allocations: 0 / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08479, allocations: 0 / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.0848, allocations: 0 / 450.2 MB, free: 10.74 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.0003228/0.08513, allocations: 345.3 kB / 450.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.08517, allocations: 8.031 kB / 450.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.08521, allocations: 8.922 kB / 450.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.915e-05/0.08531, allocations: 160.4 kB / 450.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.08532, allocations: 384 / 450.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.08534, allocations: 4.375 kB / 450.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.08546, allocations: 42.25 kB / 450.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.08549, allocations: 192 / 450.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.08551, allocations: 3.938 kB / 450.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.08552, allocations: 4 kB / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.08556, allocations: 23.86 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.08598, allocations: 240.9 kB / 451.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.89e-05/0.08607, allocations: 26.56 kB / 451.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.08611, allocations: 20.91 kB / 451.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.08613, allocations: 0 / 451.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.08616, allocations: 38.56 kB / 451.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.08617, allocations: 0 / 451.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.08638, allocations: 87.33 kB / 451.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.08643, allocations: 81.11 kB / 451.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.387e-05/0.08647, allocations: 89.86 kB / 451.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.08649, allocations: 29.64 kB / 451.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.08658, allocations: 80.14 kB / 451.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.08661, allocations: 12.02 kB / 451.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.08665, allocations: 17.72 kB / 451.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.08676, allocations: 310.8 kB / 451.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.08679, allocations: 8 kB / 451.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.08681, allocations: 11.98 kB / 451.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.128e-05/0.08689, allocations: 72.27 kB / 451.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0869, allocations: 0 / 451.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001049/0.08701, allocations: 87.27 kB / 452 MB, free: 8.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.08705, allocations: 34.73 kB / 452 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.08706, allocations: 4 kB / 452 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.08708, allocations: 0 / 452 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.08712, allocations: 0 / 452 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.08713, allocations: 0 / 452 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.08719, allocations: 15.97 kB / 452.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.0872, allocations: 0 / 452.1 MB, free: 8.641 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 8.783e-05/0.0873, allocations: 139.5 kB / 452.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.08733, allocations: 3.938 kB / 452.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.08735, allocations: 11.08 kB / 452.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.08736, allocations: 4 kB / 452.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.08737, allocations: 0 / 452.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.08737, allocations: 0 / 452.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.08753, allocations: 165.6 kB / 452.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.08754, allocations: 0 / 452.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/0.08755, allocations: 0 / 452.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.08756, allocations: 0 / 452.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.08757, allocations: 0 / 452.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.08758, allocations: 7.938 kB / 452.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.08759, allocations: 0 / 452.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.08773, allocations: 181.2 kB / 452.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.08778, allocations: 81.02 kB / 452.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.0878, allocations: 11.92 kB / 452.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.08788, allocations: 0 / 452.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.08793, allocations: 8 kB / 452.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.08795, allocations: 0 / 452.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.08798, allocations: 83.25 kB / 452.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08798, allocations: 0 / 452.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.08821, allocations: 7.938 kB / 452.8 MB, free: 7.844 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.000107/0.08833, allocations: 107.2 kB / 452.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.08846, allocations: 71.34 kB / 452.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.08847, allocations: 4 kB / 452.9 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.08853, allocations: 71.39 kB / 453 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.08875, allocations: 7.938 kB / 453 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.089, allocations: 122.9 kB / 453.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.08925, allocations: 0.669 MB / 453.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.08927, allocations: 15.44 kB / 453.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.08928, allocations: 0 / 453.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of Templates: time 0.001768/0.09105, allocations: 0.5262 MB / 454.3 MB, free: 6.164 MB / 334.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/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