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.001714/0.001714, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.001789/0.001789, allocations: 188.1 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06336/0.06336, 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.00158/0.00158, allocations: 80.81 kB / 399.3 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07193/0.07352, allocations: 50.13 MB / 449.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001878/0.07543, allocations: 0.7061 MB / 450.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001682/0.07562, allocations: 31.89 kB / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.07567, allocations: 0 / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.07572, allocations: 3.938 kB / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.554e-05/0.07576, allocations: 0 / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.07589, allocations: 8 kB / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.07599, allocations: 23.98 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.07608, allocations: 4 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.07611, allocations: 11.94 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.07616, allocations: 3.984 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.07619, allocations: 8 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-06/0.0762, allocations: 0 / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.07622, allocations: 3.984 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.07625, allocations: 11.94 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.973e-05/0.07633, allocations: 15.97 kB / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.07634, allocations: 0 / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.07634, allocations: 0 / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.07636, allocations: 3.938 kB / 450.2 MB, free: 10.73 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.0002963/0.07667, allocations: 345.3 kB / 450.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.07671, allocations: 8.031 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.07675, allocations: 4.938 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.07684, allocations: 160.4 kB / 450.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.07686, allocations: 4.375 kB / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.07687, allocations: 384 / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.07699, allocations: 42.25 kB / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.077, allocations: 192 / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.07702, allocations: 7.875 kB / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.07703, allocations: 7.984 kB / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.111e-05/0.07707, allocations: 8 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.07746, allocations: 252.9 kB / 451.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.07753, allocations: 26.52 kB / 451.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.07757, allocations: 16.92 kB / 451.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.07758, allocations: 0 / 451.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.07761, allocations: 34.56 kB / 451.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.07762, allocations: 4 kB / 451.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.07782, allocations: 87.33 kB / 451.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.07787, allocations: 81.09 kB / 451.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.928e-05/0.0779, allocations: 93.8 kB / 451.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.07792, allocations: 25.7 kB / 451.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.07796, allocations: 84.14 kB / 451.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.07799, allocations: 7.906 kB / 451.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.07802, allocations: 13.72 kB / 451.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.07812, allocations: 315 kB / 451.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.07815, allocations: 11.98 kB / 451.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.07817, allocations: 8 kB / 451.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.07824, allocations: 76.27 kB / 451.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.07825, allocations: 0 / 451.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.553e-05/0.07835, allocations: 83.27 kB / 452 MB, free: 8.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.07839, allocations: 34.64 kB / 452 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.0784, allocations: 3.984 kB / 452.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.07842, allocations: 4.094 kB / 452.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.07846, allocations: 4 kB / 452.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.07847, allocations: 0 / 452.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.07853, allocations: 0 / 452.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.07854, allocations: 4 kB / 452.1 MB, free: 8.637 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.199e-05/0.07863, allocations: 139.5 kB / 452.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.07866, allocations: 7.922 kB / 452.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.07868, allocations: 7.078 kB / 452.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.07869, allocations: 0 / 452.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.0787, allocations: 4 kB / 452.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0787, allocations: 3.984 kB / 452.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.07885, allocations: 161.6 kB / 452.4 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.07885, allocations: 0 / 452.4 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.07887, allocations: 4 kB / 452.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.07888, allocations: 0 / 452.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.07889, allocations: 0 / 452.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.07889, allocations: 0 / 452.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.0789, allocations: 3.984 kB / 452.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.07905, allocations: 193.1 kB / 452.6 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.07908, allocations: 81.02 kB / 452.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.0791, allocations: 0 / 452.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.07918, allocations: 4 kB / 452.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.07922, allocations: 3.984 kB / 452.7 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.07923, allocations: 7.938 kB / 452.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.07926, allocations: 79.28 kB / 452.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07927, allocations: 0 / 452.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.07949, allocations: 11.97 kB / 452.8 MB, free: 7.832 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 8.928e-05/0.07959, allocations: 95.25 kB / 452.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.07972, allocations: 83.33 kB / 452.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.07973, allocations: 0 / 452.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.064e-05/0.07978, allocations: 67.41 kB / 453 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.07999, allocations: 3.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.0002144/0.08021, 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.0002319/0.08046, allocations: 0.6807 MB / 453.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.08049, allocations: 7.438 kB / 453.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08049, allocations: 0 / 453.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of Templates: time 0.001748/0.08224, allocations: 0.5224 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