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.001482/0.001482, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001663/0.001663, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.07908/0.07908, allocations: 16.96 MB / 330.1 MB, free: 2.598 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.002013/0.002013, allocations: 74.39 kB / 463.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1322, allocations: 57.73 MB / 0.5091 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001997/0.1342, allocations: 0.7189 MB / 0.5098 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.1343, allocations: 23.95 kB / 0.5099 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.1344, allocations: 8 kB / 0.5099 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.1344, allocations: 3.938 kB / 0.5099 GB, free: 5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.1345, allocations: 0 / 0.5099 GB, free: 5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1346, allocations: 3.984 kB / 0.5099 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.1347, allocations: 16 kB / 0.5099 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.418e-05/0.1348, allocations: 11.98 kB / 0.5099 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.1348, allocations: 4 kB / 0.5099 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.1349, allocations: 7.984 kB / 0.5099 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1349, allocations: 4 kB / 0.5099 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-06/0.1349, allocations: 3.938 kB / 0.5099 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1349, allocations: 4 kB / 0.5099 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.1349, allocations: 7.984 kB / 0.5099 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.704e-05/0.135, allocations: 15.92 kB / 0.51 GB, free: 4.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.135, allocations: 0 / 0.51 GB, free: 4.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.135, allocations: 0 / 0.51 GB, free: 4.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.135, allocations: 0 / 0.51 GB, free: 4.922 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.0003583/0.1354, allocations: 272.1 kB / 0.5102 GB, free: 4.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.1354, allocations: 8.031 kB / 0.5102 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1355, allocations: 4.875 kB / 0.5102 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.1356, allocations: 110.5 kB / 0.5103 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1356, allocations: 4.375 kB / 0.5103 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1356, allocations: 4.375 kB / 0.5103 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1357, allocations: 38.25 kB / 0.5104 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1357, allocations: 8.172 kB / 0.5104 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1358, allocations: 3.938 kB / 0.5104 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1358, allocations: 0 / 0.5104 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.567e-05/0.1358, allocations: 11.94 kB / 0.5104 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.1362, allocations: 220 kB / 0.5106 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/0.1363, allocations: 34.53 kB / 0.5106 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.1364, allocations: 16.92 kB / 0.5107 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.1364, allocations: 0 / 0.5107 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1364, allocations: 30.56 kB / 0.5107 GB, free: 4.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1364, allocations: 0 / 0.5107 GB, free: 4.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002155/0.1366, allocations: 87.33 kB / 0.5108 GB, free: 3.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.1367, allocations: 89.22 kB / 0.5109 GB, free: 3.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.1367, allocations: 89.86 kB / 0.5109 GB, free: 3.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1367, allocations: 25.7 kB / 0.511 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.1368, allocations: 80.14 kB / 0.511 GB, free: 3.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.1368, allocations: 7.953 kB / 0.5111 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.1368, allocations: 9.719 kB / 0.5111 GB, free: 3.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.137, allocations: 318.8 kB / 0.5114 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.137, allocations: 7.984 kB / 0.5114 GB, free: 3.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.137, allocations: 12 kB / 0.5114 GB, free: 3.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.1371, allocations: 72.27 kB / 0.5115 GB, free: 3.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1371, allocations: 4 kB / 0.5115 GB, free: 3.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001076/0.1372, allocations: 83.27 kB / 0.5115 GB, free: 3.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.1373, allocations: 33.7 kB / 0.5116 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1373, allocations: 3.984 kB / 0.5116 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1373, allocations: 0 / 0.5116 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.933e-05/0.1373, allocations: 0 / 0.5116 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1373, allocations: 8.078 kB / 0.5116 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.1374, allocations: 11.95 kB / 0.5116 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1374, allocations: 0 / 0.5116 GB, free: 3.016 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.0001106/0.1375, allocations: 140.1 kB / 0.5117 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1375, allocations: 15.86 kB / 0.5117 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.1375, allocations: 3.156 kB / 0.5117 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1375, allocations: 0 / 0.5117 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1375, allocations: 0 / 0.5117 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1375, allocations: 0 / 0.5117 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1377, allocations: 136.7 kB / 0.5119 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1377, allocations: 0 / 0.5119 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-06/0.1377, allocations: 0 / 0.5119 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1377, allocations: 4 kB / 0.5119 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1377, allocations: 0 / 0.5119 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1377, allocations: 0 / 0.5119 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1377, allocations: 3.938 kB / 0.5119 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1379, allocations: 177.2 kB / 0.5121 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-06/0.1379, allocations: 8.031 kB / 0.5121 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1379, allocations: 0 / 0.5121 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.138, allocations: 11.94 kB / 0.5121 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.138, allocations: 0 / 0.5121 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.138, allocations: 3.984 kB / 0.5121 GB, free: 2.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.437e-05/0.1381, allocations: 75.28 kB / 0.5121 GB, free: 2.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1381, allocations: 0 / 0.5121 GB, free: 2.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1383, allocations: 8 kB / 0.5122 GB, free: 2.359 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 0.0001089/0.1384, allocations: 99.25 kB / 0.5122 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1385, allocations: 79.33 kB / 0.5123 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1385, allocations: 0 / 0.5123 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.1386, allocations: 67.41 kB / 0.5124 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.1388, allocations: 3.938 kB / 0.5124 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.1391, allocations: 126.6 kB / 0.5125 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1394, allocations: 0.6729 MB / 0.5132 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.1394, allocations: 11.44 kB / 0.5132 GB, free: 1.211 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1394, allocations: 4.125 kB / 0.5132 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Templates: time 0.002088/0.1415, allocations: 0.5246 MB / 0.5137 GB, free: 0.6875 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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] 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: 7.213039092021063]