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.002422/0.002422, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002549/0.002549, allocations: 199.8 kB / 16.8 MB, free: 6.828 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.945/1.945, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2775/0.2775, allocations: 16.78 MB / 307.4 MB, free: 15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.91 kB / 373.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.5456, allocations: 53.55 MB / 427.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002539/0.5482, allocations: 0.7573 MB / 428.1 MB, free: 40.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.5486, allocations: 25.53 kB / 428.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.5486, allocations: 3.125 kB / 428.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.5487, allocations: 1.969 kB / 428.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.5487, allocations: 3.938 kB / 428.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.5489, allocations: 17.53 kB / 428.1 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.739e-05/0.549, allocations: 14.53 kB / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.5492, allocations: 8.406 kB / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.5492, allocations: 1.438 kB / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.5493, allocations: 13.06 kB / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.5493, allocations: 0 / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.5493, allocations: 3.938 kB / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.5494, allocations: 0 / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.5494, allocations: 5 kB / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.181e-05/0.5495, allocations: 11.69 kB / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.5495, allocations: 0 / 428.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5495, allocations: 7 kB / 428.2 MB, free: 40.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.5495, allocations: 0 / 428.2 MB, free: 40.49 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.0004975/0.55, allocations: 342 kB / 428.5 MB, free: 40.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.5501, allocations: 8.656 kB / 428.5 MB, free: 40.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.5502, allocations: 1.562 kB / 428.6 MB, free: 40.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5503, allocations: 166.1 kB / 428.7 MB, free: 39.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5503, allocations: 2.609 kB / 428.7 MB, free: 39.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5503, allocations: 3.281 kB / 428.7 MB, free: 39.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.5505, allocations: 43.7 kB / 428.8 MB, free: 39.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5506, allocations: 7.031 kB / 428.8 MB, free: 39.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.5506, allocations: 7.859 kB / 428.8 MB, free: 39.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5506, allocations: 0 / 428.8 MB, free: 39.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.5507, allocations: 8.906 kB / 428.8 MB, free: 39.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.5512, allocations: 245.2 kB / 429 MB, free: 39.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.244e-05/0.5513, allocations: 34.92 kB / 429.1 MB, free: 39.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.5513, allocations: 25.84 kB / 429.1 MB, free: 39.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.5514, allocations: 0 / 429.1 MB, free: 39.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.5514, allocations: 34.59 kB / 429.1 MB, free: 39.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.5514, allocations: 0 / 429.1 MB, free: 39.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002611/0.5517, allocations: 87.98 kB / 429.2 MB, free: 39.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.5517, allocations: 78.23 kB / 429.3 MB, free: 39.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.841e-05/0.5518, allocations: 89.86 kB / 429.4 MB, free: 39.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.5518, allocations: 31.67 kB / 429.4 MB, free: 39.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.5519, allocations: 88.05 kB / 429.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.5519, allocations: 0 / 429.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.5519, allocations: 16.39 kB / 429.5 MB, free: 39.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.552, allocations: 315.7 kB / 429.8 MB, free: 38.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.552, allocations: 8.594 kB / 429.8 MB, free: 38.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.5521, allocations: 10.52 kB / 429.8 MB, free: 38.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.251e-05/0.5521, allocations: 74.61 kB / 429.9 MB, free: 38.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5522, allocations: 8 kB / 429.9 MB, free: 38.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.693e-05/0.5523, allocations: 84.39 kB / 430 MB, free: 38.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.5523, allocations: 36.73 kB / 430 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5523, allocations: 3.188 kB / 430 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5523, allocations: 0 / 430 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.5524, allocations: 2.844 kB / 430 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5524, allocations: 0 / 430 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.5525, allocations: 6.594 kB / 430 MB, free: 38.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5525, allocations: 0 / 430 MB, free: 38.63 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 8.725e-05/0.5526, allocations: 146.1 kB / 430.2 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.5526, allocations: 7.25 kB / 430.2 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.5527, allocations: 6.562 kB / 430.2 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5527, allocations: 0 / 430.2 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5527, allocations: 0 / 430.2 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5527, allocations: 0 / 430.2 MB, free: 38.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.5528, allocations: 155.1 kB / 430.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5528, allocations: 2.781 kB / 430.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-06/0.5528, allocations: 0 / 430.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5528, allocations: 0 / 430.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5529, allocations: 14.31 kB / 430.4 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5529, allocations: 3.984 kB / 430.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5529, allocations: 0 / 430.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.553, allocations: 178 kB / 430.5 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.5531, allocations: 81.05 kB / 430.6 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.5531, allocations: 0 / 430.6 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.5532, allocations: 2.875 kB / 430.6 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.5532, allocations: 11.3 kB / 430.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.5532, allocations: 3.781 kB / 430.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.5533, allocations: 75.28 kB / 430.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5533, allocations: 0 / 430.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.5535, allocations: 9.844 kB / 430.7 MB, free: 37.93 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 0.0001372/0.5536, allocations: 101.2 kB / 430.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.5538, allocations: 77.98 kB / 430.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5538, allocations: 0 / 430.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.5539, allocations: 70.34 kB / 431 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.5541, allocations: 10.69 kB / 431 MB, free: 37.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.5544, allocations: 121 kB / 431.1 MB, free: 37.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.5546, allocations: 0.6764 MB / 431.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.5546, allocations: 11.34 kB / 431.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5546, allocations: 0 / 431.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of Templates: time 0.002528/0.5572, allocations: 0.5281 MB / 432.3 MB, free: 36.84 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches