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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07889/0.07889, allocations: 16.95 MB / 329.4 MB, free: 2.559 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 462.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.1004, allocations: 57.74 MB / 0.5084 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001774/0.1022, allocations: 0.7068 MB / 0.5091 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.1023, allocations: 23.91 kB / 0.5091 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.1023, allocations: 8 kB / 0.5091 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.1024, allocations: 0 / 0.5091 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.208e-05/0.1024, allocations: 3.984 kB / 0.5091 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.029e-05/0.1025, allocations: 4 kB / 0.5091 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.1026, allocations: 19.97 kB / 0.5092 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.431e-05/0.1026, allocations: 8 kB / 0.5092 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.1026, allocations: 3.938 kB / 0.5092 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.1027, allocations: 11.98 kB / 0.5092 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.1027, allocations: 0 / 0.5092 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-06/0.1027, allocations: 4 kB / 0.5092 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1027, allocations: 3.938 kB / 0.5092 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.1027, allocations: 8 kB / 0.5092 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.826e-05/0.1028, allocations: 15.97 kB / 0.5092 GB, free: 4.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1028, allocations: 0 / 0.5092 GB, free: 4.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1028, allocations: 0 / 0.5092 GB, free: 4.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1028, allocations: 0 / 0.5092 GB, free: 4.891 MB / 382.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.0002921/0.1031, allocations: 268.1 kB / 0.5095 GB, free: 4.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.1031, allocations: 8.031 kB / 0.5095 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.1031, allocations: 8.922 kB / 0.5095 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.1032, allocations: 114.5 kB / 0.5096 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1032, allocations: 4.375 kB / 0.5096 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.1033, allocations: 384 / 0.5096 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.1033, allocations: 42.25 kB / 0.5096 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1034, allocations: 4.125 kB / 0.5096 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1034, allocations: 7.938 kB / 0.5097 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-06/0.1034, allocations: 0 / 0.5097 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.1034, allocations: 8 kB / 0.5097 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1038, allocations: 224 kB / 0.5099 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.1038, allocations: 30.52 kB / 0.5099 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.1038, allocations: 16.91 kB / 0.5099 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1038, allocations: 4 kB / 0.5099 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1039, allocations: 34.5 kB / 0.51 GB, free: 4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1039, allocations: 0 / 0.51 GB, free: 4 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.1041, allocations: 83.39 kB / 0.51 GB, free: 3.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.1041, allocations: 85.23 kB / 0.5101 GB, free: 3.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.069e-05/0.1042, allocations: 89.86 kB / 0.5102 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1042, allocations: 25.7 kB / 0.5102 GB, free: 3.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.1042, allocations: 80.14 kB / 0.5103 GB, free: 3.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.1042, allocations: 7.953 kB / 0.5103 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.1043, allocations: 17.7 kB / 0.5103 GB, free: 3.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1044, allocations: 314.8 kB / 0.5106 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.1044, allocations: 4 kB / 0.5106 GB, free: 3.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.1044, allocations: 15.94 kB / 0.5107 GB, free: 3.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.1045, allocations: 76.25 kB / 0.5107 GB, free: 3.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1045, allocations: 0 / 0.5107 GB, free: 3.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/0.1046, allocations: 83.33 kB / 0.5108 GB, free: 3.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.1046, allocations: 33.7 kB / 0.5108 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1047, allocations: 0 / 0.5108 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1047, allocations: 0 / 0.5108 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.67e-05/0.1047, allocations: 0 / 0.5108 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1047, allocations: 0 / 0.5108 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.1047, allocations: 16.03 kB / 0.5109 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1048, allocations: 3.984 kB / 0.5109 GB, free: 2.984 MB / 382.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.0001043/0.1049, allocations: 140.1 kB / 0.511 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1049, allocations: 7.938 kB / 0.511 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.229e-05/0.1049, allocations: 11.03 kB / 0.511 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1049, allocations: 0 / 0.511 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1049, allocations: 0 / 0.511 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1049, allocations: 0 / 0.511 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.105, allocations: 132.7 kB / 0.5111 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.105, allocations: 4 kB / 0.5111 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/0.1051, allocations: 0 / 0.5111 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1051, allocations: 0 / 0.5111 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1051, allocations: 4 kB / 0.5111 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1051, allocations: 0 / 0.5111 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1051, allocations: 4 kB / 0.5111 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1052, allocations: 173.2 kB / 0.5113 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-06/0.1052, allocations: 8.031 kB / 0.5113 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1052, allocations: 4 kB / 0.5113 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1053, allocations: 11.92 kB / 0.5113 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.1053, allocations: 0 / 0.5113 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1053, allocations: 0 / 0.5113 GB, free: 2.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.715e-05/0.1054, allocations: 75.28 kB / 0.5114 GB, free: 2.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1054, allocations: 3.938 kB / 0.5114 GB, free: 2.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1056, allocations: 8 kB / 0.5114 GB, free: 2.328 MB / 382.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 9.024e-05/0.1057, allocations: 95.25 kB / 0.5115 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1058, allocations: 79.39 kB / 0.5116 GB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1058, allocations: 0 / 0.5116 GB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.1059, allocations: 67.39 kB / 0.5116 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.1061, allocations: 7.938 kB / 0.5117 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002012/0.1063, allocations: 100.9 kB / 0.5118 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1065, allocations: 0.669 MB / 0.5124 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.01e-05/0.1065, allocations: 4 kB / 0.5124 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.1066, allocations: 15.5 kB / 0.5124 GB, free: 1.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1066, allocations: 0 / 0.5124 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Templates: time 0.002551/0.1091, allocations: 0.589 MB / 0.513 GB, free: 0.6328 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.263510059005057]