Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_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.00768/0.00768, allocations: 104.4 kB / 15.73 MB, free: 6.473 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.00186/0.00186, allocations: 196.9 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1924/0.1924, allocations: 16.79 MB / 307.3 MB, free: 14.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.47 kB / 428.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08959, allocations: 53.57 MB / 482.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002125/0.09175, allocations: 0.6859 MB / 483 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.09197, allocations: 30.61 kB / 483 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.09202, allocations: 0 / 483 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.09206, allocations: 7.938 kB / 483 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.09215, allocations: 3.938 kB / 483 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.09231, allocations: 10.23 kB / 483 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.09243, allocations: 21.02 kB / 483 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.09254, allocations: 6.703 kB / 483 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.09258, allocations: 2.969 kB / 483 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.09264, allocations: 10.19 kB / 483.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.09266, allocations: 2.094 kB / 483.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.09268, allocations: 1.625 kB / 483.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.0927, allocations: 1.281 kB / 483.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.09274, allocations: 18.48 kB / 483.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.773e-05/0.09284, allocations: 11.86 kB / 483.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.09285, allocations: 0 / 483.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.09286, allocations: 0 / 483.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09287, allocations: 0 / 483.1 MB, free: 8.457 MB / 350.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.0003032/0.09317, allocations: 351.2 kB / 483.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.09323, allocations: 10.53 kB / 483.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.09328, allocations: 6.344 kB / 483.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.994e-05/0.09335, allocations: 168.3 kB / 483.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.09338, allocations: 5.469 kB / 483.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.0934, allocations: 2.938 kB / 483.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.09353, allocations: 40.94 kB / 483.7 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.09355, allocations: 1.281 kB / 483.7 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.09357, allocations: 3.938 kB / 483.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.09358, allocations: 1.094 kB / 483.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.09362, allocations: 9.594 kB / 483.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.09407, allocations: 250.9 kB / 483.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.09414, allocations: 37.14 kB / 484 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.09419, allocations: 19.81 kB / 484 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.0942, allocations: 0 / 484 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.09423, allocations: 31.75 kB / 484 MB, free: 7.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.09423, allocations: 1.156 kB / 484 MB, free: 7.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002032/0.09444, allocations: 84.95 kB / 484.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.09448, allocations: 86.42 kB / 484.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.837e-05/0.0945, allocations: 89.86 kB / 484.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.09452, allocations: 27.02 kB / 484.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.09454, allocations: 80.14 kB / 484.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.09456, allocations: 5.281 kB / 484.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.0946, allocations: 21.55 kB / 484.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.09465, allocations: 312.2 kB / 484.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.09468, allocations: 7.812 kB / 484.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.0947, allocations: 8.469 kB / 484.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.41e-05/0.09477, allocations: 82.06 kB / 484.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.09478, allocations: 1.188 kB / 484.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.715e-05/0.09487, allocations: 85.52 kB / 484.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.09491, allocations: 31.98 kB / 484.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.09492, allocations: 0 / 484.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.09494, allocations: 5.125 kB / 484.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.095, allocations: 1.281 kB / 484.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.09501, allocations: 3.984 kB / 484.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.09507, allocations: 6.531 kB / 484.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.09508, allocations: 1.25 kB / 484.9 MB, free: 6.477 MB / 350.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.479e-05/0.09514, allocations: 144 kB / 485.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.09517, allocations: 9.391 kB / 485.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.09519, allocations: 3.125 kB / 485.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.0952, allocations: 0 / 485.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.09521, allocations: 1.406 kB / 485.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.09521, allocations: 0 / 485.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.09533, allocations: 160.6 kB / 485.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.09534, allocations: 4 kB / 485.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.09535, allocations: 1.281 kB / 485.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.09536, allocations: 1.469 kB / 485.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.09537, allocations: 5.219 kB / 485.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.09538, allocations: 0 / 485.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09538, allocations: 0 / 485.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.09549, allocations: 186.8 kB / 485.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.09552, allocations: 82.95 kB / 485.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.09553, allocations: 0 / 485.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.09561, allocations: 8.047 kB / 485.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.09566, allocations: 0 / 485.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.09567, allocations: 2 kB / 485.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.23e-05/0.09569, allocations: 75.28 kB / 485.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09569, allocations: 0 / 485.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000215/0.09591, allocations: 5.562 kB / 485.6 MB, free: 5.738 MB / 350.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.545e-05/0.09601, allocations: 100.7 kB / 485.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.09613, allocations: 78.92 kB / 485.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09614, allocations: 0.7812 kB / 485.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.811e-05/0.09619, allocations: 72.61 kB / 485.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.0964, allocations: 11.72 kB / 485.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.09665, allocations: 94.36 kB / 486 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.09678, allocations: 0.6716 MB / 486.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.317e-05/0.0968, allocations: 1.531 kB / 486.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.09682, allocations: 11.56 kB / 486.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of SimCode: time 1.8e-07/0.09683, allocations: 1.25 kB / 486.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of Templates: time 0.002964/0.09979, allocations: 0.572 MB / 487.2 MB, free: 4.375 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches