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.00143/0.001429, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001679/0.00168, allocations: 195.2 kB / 16.14 MB, free: 6.703 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.5/1.5, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07081/0.07081, allocations: 14.16 MB / 283.5 MB, free: 7.543 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.00224/0.002239, allocations: 71.89 kB / 346.4 MB, free: 17.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1382, allocations: 50.14 MB / 396.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002431/0.1407, allocations: 0.7713 MB / 397.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002497/0.141, allocations: 27.91 kB / 397.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.141, allocations: 0 / 397.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.714e-05/0.1411, allocations: 0 / 397.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.285e-05/0.1411, allocations: 0 / 397.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.1413, allocations: 7.984 kB / 397.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.786e-05/0.1414, allocations: 16 kB / 397.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1415, allocations: 7.984 kB / 397.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.1415, allocations: 7.984 kB / 397.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.1416, allocations: 11.92 kB / 397.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1416, allocations: 0 / 397.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.1417, allocations: 4 kB / 397.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1417, allocations: 0 / 397.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.1417, allocations: 4 kB / 397.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.1418, allocations: 11.92 kB / 397.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.67e-05/0.1418, allocations: 3.938 kB / 397.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1419, allocations: 4 kB / 397.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1419, allocations: 4 kB / 397.5 MB, free: 14.76 MB / 302.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.0004107/0.1423, allocations: 341.6 kB / 397.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1423, allocations: 8.031 kB / 397.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.1424, allocations: 4.938 kB / 397.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1425, allocations: 168.3 kB / 398 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1425, allocations: 384 / 398 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1426, allocations: 8.375 kB / 398 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1427, allocations: 42.25 kB / 398 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1427, allocations: 192 / 398 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1427, allocations: 7.938 kB / 398 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1428, allocations: 0 / 398 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.1428, allocations: 4 kB / 398 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.1433, allocations: 252.9 kB / 398.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.979e-05/0.1434, allocations: 30.52 kB / 398.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.1434, allocations: 24.89 kB / 398.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.1434, allocations: 8 kB / 398.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1435, allocations: 30.56 kB / 398.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.1435, allocations: 0 / 398.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002424/0.1437, allocations: 91.23 kB / 398.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.1438, allocations: 81.11 kB / 398.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.045e-05/0.1438, allocations: 89.86 kB / 398.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1439, allocations: 25.7 kB / 398.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.1439, allocations: 84.27 kB / 398.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.144, allocations: 7.891 kB / 398.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.144, allocations: 17.72 kB / 398.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1442, allocations: 318.8 kB / 399.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.1442, allocations: 4 kB / 399.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.1442, allocations: 11.98 kB / 399.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.405e-05/0.1443, allocations: 72.27 kB / 399.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1443, allocations: 4.062 kB / 399.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001052/0.1444, allocations: 87.27 kB / 399.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.1445, allocations: 35.89 kB / 399.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1445, allocations: 0 / 399.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1445, allocations: 3.938 kB / 399.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.1446, allocations: 0 / 399.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1446, allocations: 0 / 399.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1447, allocations: 7.984 kB / 399.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1447, allocations: 0 / 399.3 MB, free: 12.66 MB / 302.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 9.717e-05/0.1448, allocations: 147.6 kB / 399.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.1448, allocations: 3.938 kB / 399.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.1448, allocations: 7.125 kB / 399.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1449, allocations: 0 / 399.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1449, allocations: 0 / 399.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1449, allocations: 0 / 399.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1451, allocations: 165.6 kB / 399.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1451, allocations: 0 / 399.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.1451, allocations: 0 / 399.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1451, allocations: 0 / 399.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1451, allocations: 4 kB / 399.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1451, allocations: 4 kB / 399.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1451, allocations: 3.938 kB / 399.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.1453, allocations: 173.2 kB / 399.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.1453, allocations: 77.11 kB / 399.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1453, allocations: 4 kB / 399.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1454, allocations: 3.984 kB / 399.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.1455, allocations: 8 kB / 399.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1455, allocations: 4.031 kB / 399.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.1455, allocations: 75.28 kB / 400 MB, free: 11.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1455, allocations: 0 / 400 MB, free: 11.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.1458, allocations: 4 kB / 400 MB, free: 11.88 MB / 302.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.0001389/0.1459, allocations: 107.2 kB / 400.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.1461, allocations: 79.34 kB / 400.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1461, allocations: 0 / 400.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.1461, allocations: 71.45 kB / 400.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1463, allocations: 7.938 kB / 400.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.1466, allocations: 102.6 kB / 400.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1468, allocations: 0.6731 MB / 401 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.287e-05/0.1469, allocations: 0 / 401 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.1469, allocations: 7.438 kB / 401 MB, free: 10.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1469, allocations: 0 / 401 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Templates: time 0.002668/0.1496, allocations: 0.4978 MB / 401.5 MB, free: 10.26 MB / 302.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","../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches