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.001494/0.001494, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001616/0.001616, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.785 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.08543/0.08543, allocations: 16.93 MB / 329.4 MB, free: 2.371 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.002212/0.002212, allocations: 67.89 kB / 462.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1224, allocations: 57.73 MB / 0.5083 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001951/0.1243, allocations: 0.7113 MB / 0.5089 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.1246, allocations: 23.92 kB / 0.509 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.1246, allocations: 0 / 0.509 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.1246, allocations: 11.86 kB / 0.509 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.733e-05/0.1247, allocations: 0 / 0.509 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.1248, allocations: 8 kB / 0.509 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.897e-05/0.1249, allocations: 19.92 kB / 0.509 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.125, allocations: 8 kB / 0.509 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.125, allocations: 7.984 kB / 0.509 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.1251, allocations: 7.984 kB / 0.509 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1251, allocations: 0 / 0.509 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.1251, allocations: 0 / 0.509 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1251, allocations: 8 kB / 0.509 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.1252, allocations: 0 / 0.509 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.973e-05/0.1252, allocations: 19.91 kB / 0.5091 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1252, allocations: 0 / 0.5091 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.1252, allocations: 4 kB / 0.5091 GB, free: 4.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1253, allocations: 0 / 0.5091 GB, free: 4.797 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.0003588/0.1256, allocations: 272.1 kB / 0.5093 GB, free: 4.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1256, allocations: 16.02 kB / 0.5093 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.1257, allocations: 0.9375 kB / 0.5093 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.559e-05/0.1258, allocations: 102.5 kB / 0.5094 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1258, allocations: 4.375 kB / 0.5094 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1258, allocations: 384 / 0.5094 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1259, allocations: 71.95 kB / 0.5095 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.126, allocations: 192 / 0.5095 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.126, allocations: 3.938 kB / 0.5095 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.126, allocations: 4 kB / 0.5095 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.126, allocations: 41.69 kB / 0.5096 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1264, allocations: 192.6 kB / 0.5097 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.471e-05/0.1265, allocations: 52.27 kB / 0.5098 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.1266, allocations: 46.61 kB / 0.5098 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1266, allocations: 3.938 kB / 0.5098 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1266, allocations: 30.56 kB / 0.5099 GB, free: 3.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1266, allocations: 0 / 0.5099 GB, free: 3.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002676/0.1269, allocations: 142.7 kB / 0.51 GB, free: 3.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.1269, allocations: 81.23 kB / 0.5101 GB, free: 3.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.127, allocations: 93.86 kB / 0.5102 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.127, allocations: 29.64 kB / 0.5102 GB, free: 3.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.1271, allocations: 84.14 kB / 0.5103 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1271, allocations: 11.92 kB / 0.5103 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.1271, allocations: 13.72 kB / 0.5103 GB, free: 3.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1273, allocations: 314.8 kB / 0.5106 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.846e-05/0.1273, allocations: 33.7 kB / 0.5106 GB, free: 2.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.1274, allocations: 41.62 kB / 0.5107 GB, free: 2.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/0.1274, allocations: 76.27 kB / 0.5107 GB, free: 2.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1274, allocations: 4.062 kB / 0.5108 GB, free: 2.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001315/0.1276, allocations: 109 kB / 0.5109 GB, free: 2.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.1276, allocations: 36.67 kB / 0.5109 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1276, allocations: 0 / 0.5109 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1276, allocations: 3.984 kB / 0.5109 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.1277, allocations: 4 kB / 0.5109 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1277, allocations: 0 / 0.5109 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.1277, allocations: 3.953 kB / 0.5109 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1277, allocations: 4 kB / 0.5109 GB, free: 2.637 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.0001116/0.1278, allocations: 146.3 kB / 0.511 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1279, allocations: 15.95 kB / 0.5111 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.1279, allocations: 11.09 kB / 0.5111 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1279, allocations: 0 / 0.5111 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1279, allocations: 0 / 0.5111 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1279, allocations: 0 / 0.5111 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.128, allocations: 97.33 kB / 0.5112 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.128, allocations: 0 / 0.5112 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.128, allocations: 8 kB / 0.5112 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.128, allocations: 3.938 kB / 0.5112 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1281, allocations: 3.984 kB / 0.5112 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1281, allocations: 0 / 0.5112 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1281, allocations: 4 kB / 0.5112 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1283, allocations: 202.9 kB / 0.5114 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.1283, allocations: 4 kB / 0.5114 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1283, allocations: 7.938 kB / 0.5114 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1284, allocations: 0 / 0.5114 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1284, allocations: 7.984 kB / 0.5114 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1284, allocations: 0 / 0.5114 GB, free: 2.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.269e-05/0.1285, allocations: 79.22 kB / 0.5115 GB, free: 1.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1285, allocations: 0 / 0.5115 GB, free: 1.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1287, allocations: 4 kB / 0.5115 GB, free: 1.98 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.81e-05/0.1288, allocations: 103.8 kB / 0.5116 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.129, allocations: 134.7 kB / 0.5117 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.129, allocations: 0 / 0.5117 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.129, allocations: 97.09 kB / 0.5118 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1292, allocations: 0 / 0.5118 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.1295, allocations: 126.7 kB / 0.5119 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.78e-05/0.1296, allocations: 63.2 kB / 0.512 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.083e-05/0.1296, allocations: 0 / 0.512 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.1296, allocations: 19.5 kB / 0.512 GB, free: 1.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1296, allocations: 0 / 0.512 GB, free: 1.34 MB / 382.1 MB Notification: Performance of Templates: time 0.003013/0.1326, allocations: 0.5865 MB / 0.5126 GB, free: 0.7695 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/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.855134837329388]