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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 207.6 MB / 233 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07226/0.07226, allocations: 14.39 MB / 299.6 MB, free: 7.465 MB / 238.1 MB
"
[Timeout remaining time 180]
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=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE")
translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660]
"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.00215/0.00215, allocations: 75.89 kB / 423.4 MB, free: 36.44 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09651, allocations: 52.88 MB / 476.3 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002005/0.09852, allocations: 0.7133 MB / 477 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002116/0.09873, allocations: 31.89 kB / 477.1 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.09877, allocations: 0 / 477.1 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.0988, allocations: 0 / 477.1 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.12e-05/0.09886, allocations: 7.938 kB / 477.1 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.09901, allocations: 19.86 kB / 477.1 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001143/0.09913, allocations: 12 kB / 477.1 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.09922, allocations: 7.984 kB / 477.1 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.09924, allocations: 4 kB / 477.1 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.0993, allocations: 8 kB / 477.1 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.09931, allocations: 0 / 477.1 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.09932, allocations: 0 / 477.1 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.09934, allocations: 7.984 kB / 477.1 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.09938, allocations: 11.92 kB / 477.2 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.09946, allocations: 15.98 kB / 477.2 MB, free: 14.64 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09946, allocations: 0 / 477.2 MB, free: 14.64 MB / 350.1 MB
Notification: Performance of FrontEnd: time 9.11e-07/0.09946, allocations: 0 / 477.2 MB, free: 14.64 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.196e-05/0.09948, allocations: 4 kB / 477.2 MB, free: 14.63 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.0003521/0.09983, allocations: 268.1 kB / 477.4 MB, free: 14.33 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.09986, allocations: 8.031 kB / 477.4 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.0999, allocations: 4.938 kB / 477.4 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.09999, allocations: 110.5 kB / 477.6 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1, allocations: 384 / 477.6 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1, allocations: 4.375 kB / 477.6 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1001, allocations: 46.25 kB / 477.6 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1002, allocations: 192 / 477.6 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1002, allocations: 7.922 kB / 477.6 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1002, allocations: 0 / 477.6 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.1002, allocations: 12 kB / 477.6 MB, free: 14.11 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.1007, allocations: 208 kB / 477.8 MB, free: 13.87 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.1007, allocations: 46.47 kB / 477.9 MB, free: 13.81 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.1008, allocations: 16.86 kB / 477.9 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1008, allocations: 0 / 477.9 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1008, allocations: 30.56 kB / 477.9 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1008, allocations: 0 / 477.9 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of matching and sorting (n=2): time 0.0002372/0.1011, allocations: 87.39 kB / 478 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.1011, allocations: 85.03 kB / 478.1 MB, free: 13.55 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.1012, allocations: 93.98 kB / 478.2 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1012, allocations: 29.7 kB / 478.2 MB, free: 13.42 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.1012, allocations: 84.09 kB / 478.3 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.1012, allocations: 3.953 kB / 478.3 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.1013, allocations: 17.72 kB / 478.3 MB, free: 13.3 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001328/0.1014, allocations: 310.8 kB / 478.6 MB, free: 12.99 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.1014, allocations: 7.984 kB / 478.6 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.1015, allocations: 8 kB / 478.6 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.1015, allocations: 80.33 kB / 478.7 MB, free: 12.88 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1015, allocations: 3.938 kB / 478.7 MB, free: 12.88 MB / 350.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.1017, allocations: 87.27 kB / 478.8 MB, free: 12.78 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.1017, allocations: 29.7 kB / 478.8 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1017, allocations: 3.984 kB / 478.8 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1017, allocations: 0 / 478.8 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.1018, allocations: 4 kB / 478.8 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1018, allocations: 0 / 478.8 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1018, allocations: 0 / 478.8 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1018, allocations: 8.031 kB / 478.8 MB, free: 12.73 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 0.0001072/0.1019, allocations: 139.5 kB / 479 MB, free: 12.58 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.1019, allocations: 3.938 kB / 479 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.102, allocations: 11.09 kB / 479 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.102, allocations: 0 / 479 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.102, allocations: 0 / 479 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.102, allocations: 4 kB / 479 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1021, allocations: 128.7 kB / 479.1 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1021, allocations: 0 / 479.1 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.1021, allocations: 8 kB / 479.1 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1021, allocations: 0 / 479.1 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1022, allocations: 0 / 479.1 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1022, allocations: 0 / 479.1 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1022, allocations: 3.938 kB / 479.1 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.1023, allocations: 185.1 kB / 479.3 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.1023, allocations: 3.938 kB / 479.3 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1023, allocations: 8 kB / 479.3 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1024, allocations: 4.031 kB / 479.3 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1025, allocations: 0 / 479.3 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1025, allocations: 7.984 kB / 479.3 MB, free: 12.15 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 3.056e-05/0.1025, allocations: 75.28 kB / 479.4 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1025, allocations: 0 / 479.4 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002112/0.1027, allocations: 4 kB / 479.4 MB, free: 12.07 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.0001049/0.1028, allocations: 95.25 kB / 479.5 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000158/0.103, allocations: 83.39 kB / 479.6 MB, free: 11.87 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.103, allocations: 0 / 479.6 MB, free: 11.87 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.727e-05/0.103, allocations: 67.34 kB / 479.7 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.1032, allocations: 3.938 kB / 479.7 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.1035, allocations: 93.05 kB / 479.8 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1038, allocations: 0.6768 MB / 480.4 MB, free: 10.97 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 1.142e-05/0.1038, allocations: 0 / 480.4 MB, free: 10.97 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.1038, allocations: 7.438 kB / 480.4 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.1038, allocations: 3.938 kB / 480.4 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of Templates: time 0.002922/0.1067, allocations: 0.5931 MB / 481 MB, free: 10.37 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.632002571597695]