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.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.001176/0.001176, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001951/0.003127, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009322/0.0009322, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002274, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9096/0.9096, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1371/1.047, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.04065/0.04065, allocations: 10.64 MB / 232.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007216/0.04786, allocations: 4.154 MB / 236.2 MB, free: 1.809 MB / 234.7 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.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_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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 237.6 MB, free: 448 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.574e-05, allocations: 2.312 kB / 237.6 MB, free: 444 kB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00239/0.002416, allocations: 0.7916 MB / 238.4 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 9.502e-05/0.002511, allocations: 23.91 kB / 238.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.002539, allocations: 0 / 238.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.002563, allocations: 3.938 kB / 238.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.606e-05/0.002589, allocations: 7.938 kB / 238.4 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.128e-05/0.00266, allocations: 4 kB / 238.4 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.002762, allocations: 19.98 kB / 238.4 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.676e-05/0.002839, allocations: 4 kB / 238.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.002889, allocations: 15.98 kB / 238.4 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.00296, allocations: 3.984 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.002984, allocations: 4 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.002993, allocations: 0 / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.003014, allocations: 7.938 kB / 238.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.003037, allocations: 4 kB / 238.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.121e-05/0.003128, allocations: 11.98 kB / 238.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.003142, allocations: 0 / 238.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.003143, allocations: 0 / 238.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.003154, allocations: 0 / 238.5 MB, free: 15.53 MB / 250.7 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.0003427/0.003496, allocations: 246.5 kB / 238.7 MB, free: 15.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.003538, allocations: 11.89 kB / 238.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.003586, allocations: 4.938 kB / 238.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.003671, allocations: 109.7 kB / 238.8 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.003686, allocations: 8.375 kB / 238.8 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.003698, allocations: 384 / 238.8 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.003828, allocations: 67.94 kB / 238.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.003837, allocations: 192 / 238.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.003846, allocations: 384 / 238.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.003854, allocations: 8.312 kB / 238.9 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.003889, allocations: 33.64 kB / 238.9 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.004294, allocations: 160.3 kB / 239.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.004369, allocations: 48.22 kB / 239.2 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.004409, allocations: 42.62 kB / 239.2 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.004416, allocations: 0 / 239.2 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.004448, allocations: 38.55 kB / 239.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004449, allocations: 0 / 239.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.004627, allocations: 130.7 kB / 239.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.004657, allocations: 59.34 kB / 239.4 MB, free: 14.42 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.503e-05/0.004692, allocations: 89.86 kB / 239.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.004705, allocations: 29.83 kB / 239.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.004743, allocations: 84.14 kB / 239.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.004765, allocations: 7.938 kB / 239.6 MB, free: 14.19 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.004798, allocations: 17.72 kB / 239.6 MB, free: 14.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.0049, allocations: 310.8 kB / 239.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.00493, allocations: 33.7 kB / 240 MB, free: 13.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.004957, allocations: 37.69 kB / 240 MB, free: 13.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.005026, allocations: 76.23 kB / 240.1 MB, free: 13.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.005029, allocations: 0 / 240.1 MB, free: 13.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/0.005135, allocations: 105.1 kB / 240.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/0.005186, allocations: 33.7 kB / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.005193, allocations: 0 / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.005207, allocations: 0 / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.552e-05/0.005253, allocations: 4 kB / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.005257, allocations: 3.938 kB / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.005304, allocations: 3.984 kB / 240.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.005314, allocations: 8 kB / 240.2 MB, free: 13.5 MB / 250.7 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 7.522e-05/0.00539, allocations: 131.5 kB / 240.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.005415, allocations: 7.984 kB / 240.4 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.005434, allocations: 7.141 kB / 240.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.005437, allocations: 8 kB / 240.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.005442, allocations: 7.922 kB / 240.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.005445, allocations: 0 / 240.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.005566, allocations: 65.86 kB / 240.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005568, allocations: 0 / 240.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.005584, allocations: 3.938 kB / 240.5 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.005589, allocations: 0 / 240.5 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.005592, allocations: 4 kB / 240.5 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.005602, allocations: 4 kB / 240.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.005605, allocations: 3.984 kB / 240.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005607, allocations: 4 kB / 240.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.005808, allocations: 198.8 kB / 240.7 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.005832, allocations: 0 / 240.7 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.005946, allocations: 7.984 kB / 240.7 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.005992, allocations: 4 kB / 240.7 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.005997, allocations: 0 / 240.7 MB, free: 12.99 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.519e-05/0.006013, allocations: 8.859 kB / 240.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006013, allocations: 0 / 240.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001167/0.006129, allocations: 7.938 kB / 240.7 MB, free: 12.97 MB / 250.7 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.925e-05/0.006229, allocations: 80.45 kB / 240.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.006362, allocations: 131.7 kB / 240.9 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.006369, allocations: 4 kB / 240.9 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.546e-05/0.006425, allocations: 97.89 kB / 241 MB, free: 12.61 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.006533, allocations: 12 kB / 241 MB, free: 12.6 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.006773, allocations: 142.3 kB / 241.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.006807, allocations: 55.36 kB / 241.2 MB, free: 12.35 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.488e-05/0.006822, allocations: 0 / 241.2 MB, free: 12.35 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.006875, allocations: 55.38 kB / 241.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.006876, allocations: 4.188 kB / 241.3 MB, free: 12.29 MB / 250.7 MB Notification: Performance of Templates: time 0.001904/0.00878, allocations: 0.595 MB / 241.9 MB, free: 11.7 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4543048506602645]