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.0009059/0.0009059, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009065/0.0009065, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 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.8795/0.8795, allocations: 158.6 MB / 184.9 MB, free: 2.914 MB / 170.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.0393/0.0393, allocations: 10.65 MB / 247.9 MB, free: 4.457 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.623e-06/1.623e-06, allocations: 0 / 319.5 MB, free: 39.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.734e-05, allocations: 6.25 kB / 319.5 MB, free: 39.56 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001267/0.001295, allocations: 0.7291 MB / 320.2 MB, free: 38.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.001462, allocations: 27.91 kB / 320.2 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.001492, allocations: 0 / 320.2 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.001521, allocations: 3.938 kB / 320.2 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.001568, allocations: 0 / 320.2 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.001703, allocations: 7.984 kB / 320.3 MB, free: 38.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.001795, allocations: 16 kB / 320.3 MB, free: 38.78 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.001875, allocations: 7.375 kB / 320.3 MB, free: 38.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.001907, allocations: 15.97 kB / 320.3 MB, free: 38.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.001962, allocations: 4 kB / 320.3 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.001977, allocations: 3.938 kB / 320.3 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.001985, allocations: 4 kB / 320.3 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.002008, allocations: 7.984 kB / 320.3 MB, free: 38.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.002037, allocations: 0 / 320.3 MB, free: 38.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.539e-05/0.002112, allocations: 11.98 kB / 320.3 MB, free: 38.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002114, allocations: 0 / 320.3 MB, free: 38.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.002116, allocations: 4 kB / 320.3 MB, free: 38.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.00212, allocations: 0 / 320.3 MB, free: 38.72 MB / 282.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.0002249/0.002344, allocations: 370.1 kB / 320.7 MB, free: 38.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.002379, allocations: 12.03 kB / 320.7 MB, free: 38.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.00242, allocations: 3.344 kB / 320.7 MB, free: 38.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.051e-05/0.00246, allocations: 120.5 kB / 320.8 MB, free: 38.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.002471, allocations: 4.375 kB / 320.8 MB, free: 38.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.00248, allocations: 4.375 kB / 320.8 MB, free: 38.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.002582, allocations: 63.95 kB / 320.9 MB, free: 38.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.002589, allocations: 192 / 320.9 MB, free: 38.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.002598, allocations: 4.375 kB / 320.9 MB, free: 38.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.002606, allocations: 4.359 kB / 320.9 MB, free: 38.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.002628, allocations: 41.62 kB / 320.9 MB, free: 38.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.0029, allocations: 247.8 kB / 321.2 MB, free: 37.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/0.00295, allocations: 64.7 kB / 321.2 MB, free: 37.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.002976, allocations: 45.44 kB / 321.3 MB, free: 37.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.002982, allocations: 3.938 kB / 321.3 MB, free: 37.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.002998, allocations: 33.39 kB / 321.3 MB, free: 37.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.002999, allocations: 0 / 321.3 MB, free: 37.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001556/0.003155, allocations: 146.7 kB / 321.5 MB, free: 37.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.003176, allocations: 77.11 kB / 321.5 MB, free: 37.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.505e-05/0.003191, allocations: 150.4 kB / 321.7 MB, free: 37.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-06/0.003198, allocations: 25.7 kB / 321.7 MB, free: 37.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.572e-05/0.003214, allocations: 130.9 kB / 321.8 MB, free: 36.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.00323, allocations: 8.281 kB / 321.9 MB, free: 36.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.003251, allocations: 19.38 kB / 321.9 MB, free: 36.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.003289, allocations: 492.1 kB / 322.4 MB, free: 36.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.003305, allocations: 37.7 kB / 322.4 MB, free: 36.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.003318, allocations: 33.69 kB / 322.4 MB, free: 36.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.003358, allocations: 79.09 kB / 322.5 MB, free: 36.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003359, allocations: 0 / 322.5 MB, free: 36.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.223e-05/0.003412, allocations: 109.1 kB / 322.6 MB, free: 36.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.003431, allocations: 37.69 kB / 322.6 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.003436, allocations: 0 / 322.6 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.00345, allocations: 3.938 kB / 322.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.484e-05/0.003494, allocations: 0 / 322.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.0035, allocations: 1.016 kB / 322.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.003527, allocations: 4 kB / 322.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.003534, allocations: 0 / 322.7 MB, free: 36.1 MB / 282.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 4.426e-05/0.003579, allocations: 186.3 kB / 322.8 MB, free: 35.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.003592, allocations: 11.94 kB / 322.8 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.003608, allocations: 7.188 kB / 322.9 MB, free: 35.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00361, allocations: 3.938 kB / 322.9 MB, free: 35.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.003614, allocations: 0 / 322.9 MB, free: 35.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.003616, allocations: 0 / 322.9 MB, free: 35.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.255e-05/0.003679, allocations: 108.6 kB / 323 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.00368, allocations: 0 / 323 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/0.003684, allocations: 4 kB / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.003686, allocations: 3.984 kB / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.003692, allocations: 0 / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.003693, allocations: 0 / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.003695, allocations: 3.938 kB / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.986e-05/0.003774, allocations: 267.2 kB / 323.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.003779, allocations: 4 kB / 323.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.003789, allocations: 0 / 323.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.003819, allocations: 4 kB / 323.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.003869, allocations: 11.92 kB / 323.3 MB, free: 35.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.003872, allocations: 0 / 323.3 MB, free: 35.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.267e-05/0.003885, allocations: 123.2 kB / 323.4 MB, free: 35.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.003885, allocations: 0 / 323.4 MB, free: 35.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.004018, allocations: 4 kB / 323.4 MB, free: 35.29 MB / 282.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 5.81e-05/0.004076, allocations: 100.2 kB / 323.5 MB, free: 35.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.004185, allocations: 134.5 kB / 323.6 MB, free: 35.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.004187, allocations: 0 / 323.6 MB, free: 35.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.004219, allocations: 108.7 kB / 323.7 MB, free: 34.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.004355, allocations: 4 kB / 323.7 MB, free: 34.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.004524, allocations: 136.2 kB / 323.9 MB, free: 34.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.263e-05/0.004546, allocations: 55.34 kB / 323.9 MB, free: 34.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.137e-05/0.004558, allocations: 0 / 323.9 MB, free: 34.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.004576, allocations: 16.5 kB / 323.9 MB, free: 34.63 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.004576, allocations: 4.125 kB / 323.9 MB, free: 34.63 MB / 282.7 MB Notification: Performance of Templates: time 0.001902/0.006479, allocations: 0.6597 MB / 324.6 MB, free: 34.02 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5790711836889386]