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.01308/0.01308, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.002274/0.002274, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06533/0.06533, allocations: 14.17 MB / 284.1 MB, free: 7 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.001868/0.001868, allocations: 79.88 kB / 398.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.368, allocations: 50.13 MB / 448.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002468/0.3706, allocations: 0.6984 MB / 449.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002117/0.3708, allocations: 29.34 kB / 449.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.3709, allocations: 1.375 kB / 449.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.3709, allocations: 7.922 kB / 449.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.371, allocations: 0 / 449.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.3711, allocations: 6.75 kB / 449.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3713, allocations: 20.17 kB / 449.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3714, allocations: 10.62 kB / 449.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.3714, allocations: 2.656 kB / 449.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.3715, allocations: 14.62 kB / 449.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3715, allocations: 1.344 kB / 449.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.3715, allocations: 2.75 kB / 449.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.3715, allocations: 0 / 449.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.3716, allocations: 7.625 kB / 449.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.993e-05/0.3717, allocations: 14.72 kB / 449.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3717, allocations: 0 / 449.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3717, allocations: 1.188 kB / 449.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3717, allocations: 0 / 449.6 MB, free: 2.418 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.0002938/0.372, allocations: 355 kB / 449.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3721, allocations: 9.062 kB / 449.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.3721, allocations: 3 kB / 449.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.298e-05/0.3722, allocations: 160.4 kB / 450.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3722, allocations: 1.5 kB / 450.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3722, allocations: 6.688 kB / 450.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.3724, allocations: 41.84 kB / 450.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.3724, allocations: 4.125 kB / 450.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3724, allocations: 4.938 kB / 450.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3724, allocations: 5.531 kB / 450.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.959e-05/0.3724, allocations: 8.547 kB / 450.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.3728, allocations: 247.5 kB / 450.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.3729, allocations: 32.14 kB / 450.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.373, allocations: 16.27 kB / 450.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.373, allocations: 1.531 kB / 450.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.373, allocations: 34.56 kB / 450.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.373, allocations: 0 / 450.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000224/0.3732, allocations: 90.27 kB / 450.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.3733, allocations: 82.25 kB / 450.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.722e-05/0.3733, allocations: 89.86 kB / 450.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.3733, allocations: 26.67 kB / 450.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.823e-05/0.3733, allocations: 80.14 kB / 450.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.3734, allocations: 9.375 kB / 450.8 MB, free: 1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.3734, allocations: 17.09 kB / 450.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.3734, allocations: 316.2 kB / 451.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.3735, allocations: 8.141 kB / 451.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.3735, allocations: 8.875 kB / 451.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.3736, allocations: 74.67 kB / 451.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3736, allocations: 0 / 451.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.533e-05/0.3737, allocations: 94.64 kB / 451.3 MB, free: 500 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.3737, allocations: 34.14 kB / 451.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3737, allocations: 1.312 kB / 451.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3737, allocations: 0 / 451.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.3738, allocations: 6.109 kB / 451.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3738, allocations: 0 / 451.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.3738, allocations: 6.625 kB / 451.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3738, allocations: 1.281 kB / 451.4 MB, free: 460 kB / 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.584e-05/0.3739, allocations: 138.8 kB / 451.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3739, allocations: 9.25 kB / 451.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.374, allocations: 7.109 kB / 451.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.374, allocations: 1.312 kB / 451.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.374, allocations: 0 / 451.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.374, allocations: 0 / 451.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.3741, allocations: 165.5 kB / 451.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3741, allocations: 0 / 451.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-06/0.3741, allocations: 1.094 kB / 451.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3741, allocations: 1.219 kB / 451.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3741, allocations: 1.344 kB / 451.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3741, allocations: 0 / 451.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3741, allocations: 4 kB / 451.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3743, allocations: 182.9 kB / 451.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3744, allocations: 86.12 kB / 452 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.3744, allocations: 1.094 kB / 452 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.3745, allocations: 2.219 kB / 452 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.3745, allocations: 6.219 kB / 452 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3745, allocations: 5.109 kB / 452 MB, free: 15.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.874e-05/0.3746, allocations: 79.31 kB / 452.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3746, allocations: 0 / 452.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.3748, allocations: 5.625 kB / 452.1 MB, free: 15.7 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.0001586/0.3749, allocations: 100.9 kB / 452.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.3751, allocations: 86.55 kB / 452.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3752, allocations: 0 / 452.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/0.3752, allocations: 64.91 kB / 452.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.3754, allocations: 14.06 kB / 452.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.3757, allocations: 92.75 kB / 452.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.376, allocations: 0.6763 MB / 453.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.038e-05/0.376, allocations: 0 / 453.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.376, allocations: 8.562 kB / 453.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.376, allocations: 0 / 453.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Templates: time 0.002806/0.3788, allocations: 0.5659 MB / 453.7 MB, free: 14.34 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches