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.001303/0.001303, 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.001418/0.001418, allocations: 219 kB / 22.25 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.996 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.07901/0.07901, allocations: 16.95 MB / 329.4 MB, free: 2.582 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.001979/0.001979, allocations: 67.89 kB / 462.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1216, allocations: 57.73 MB / 0.5084 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00222/0.1239, allocations: 0.7162 MB / 0.5091 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001946/0.1241, allocations: 23.91 kB / 0.5091 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.1241, allocations: 4 kB / 0.5091 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.1241, allocations: 0 / 0.5091 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.1242, allocations: 7.938 kB / 0.5091 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.1243, allocations: 15.91 kB / 0.5092 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.852e-05/0.1244, allocations: 12 kB / 0.5092 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.1245, allocations: 8 kB / 0.5092 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.1245, allocations: 7.984 kB / 0.5092 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.1246, allocations: 4 kB / 0.5092 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1246, allocations: 4 kB / 0.5092 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-06/0.1246, allocations: 3.938 kB / 0.5092 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1246, allocations: 0 / 0.5092 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.1247, allocations: 8 kB / 0.5092 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.155e-05/0.1248, allocations: 15.95 kB / 0.5092 GB, free: 4.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1248, allocations: 8 kB / 0.5092 GB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1248, allocations: 0 / 0.5092 GB, free: 4.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1248, allocations: 0 / 0.5092 GB, free: 4.91 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.0003774/0.1251, allocations: 268.1 kB / 0.5095 GB, free: 4.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1252, allocations: 8.031 kB / 0.5095 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.1252, allocations: 8.875 kB / 0.5095 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.183e-05/0.1253, allocations: 110.5 kB / 0.5096 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1253, allocations: 384 / 0.5096 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1253, allocations: 4.375 kB / 0.5096 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1255, allocations: 42.25 kB / 0.5096 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1255, allocations: 4.188 kB / 0.5097 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1255, allocations: 3.938 kB / 0.5097 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1255, allocations: 0 / 0.5097 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.697e-05/0.1255, allocations: 11.98 kB / 0.5097 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.126, allocations: 216 kB / 0.5099 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.1261, allocations: 34.55 kB / 0.5099 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.1261, allocations: 16.92 kB / 0.5099 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1261, allocations: 3.984 kB / 0.5099 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1261, allocations: 30.56 kB / 0.51 GB, free: 4.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1261, allocations: 0 / 0.51 GB, free: 4.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002096/0.1263, allocations: 91.33 kB / 0.51 GB, free: 3.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.1264, allocations: 81.09 kB / 0.5101 GB, free: 3.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.803e-05/0.1265, allocations: 93.98 kB / 0.5102 GB, free: 3.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1265, allocations: 25.7 kB / 0.5102 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.1265, allocations: 80.14 kB / 0.5103 GB, free: 3.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1265, allocations: 7.953 kB / 0.5103 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.1266, allocations: 13.72 kB / 0.5103 GB, free: 3.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1267, allocations: 314.8 kB / 0.5106 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.1267, allocations: 11.98 kB / 0.5106 GB, free: 3.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.1268, allocations: 4 kB / 0.5106 GB, free: 3.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.416e-05/0.1268, allocations: 76.33 kB / 0.5107 GB, free: 3.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.1268, allocations: 7.938 kB / 0.5107 GB, free: 3.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/0.127, allocations: 83.27 kB / 0.5108 GB, free: 3.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.127, allocations: 36.36 kB / 0.5108 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.127, allocations: 0 / 0.5108 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.127, allocations: 0 / 0.5108 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/0.127, allocations: 3.984 kB / 0.5108 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.127, allocations: 0 / 0.5108 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.1271, allocations: 7.953 kB / 0.5109 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1271, allocations: 4.031 kB / 0.5109 GB, free: 3.012 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.0001009/0.1272, allocations: 140.1 kB / 0.511 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1272, allocations: 11.88 kB / 0.511 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.1272, allocations: 7.141 kB / 0.511 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1272, allocations: 0 / 0.511 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1272, allocations: 0 / 0.511 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1272, allocations: 0 / 0.511 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.1274, allocations: 128.7 kB / 0.5111 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1274, allocations: 0 / 0.5111 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.1274, allocations: 4 kB / 0.5111 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1274, allocations: 8 kB / 0.5111 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1274, allocations: 0 / 0.5111 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1274, allocations: 0 / 0.5111 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1274, allocations: 0 / 0.5111 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.1276, allocations: 177.1 kB / 0.5113 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.1276, allocations: 11.98 kB / 0.5113 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1276, allocations: 0 / 0.5113 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1277, allocations: 8.031 kB / 0.5113 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1277, allocations: 0 / 0.5113 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1277, allocations: 0 / 0.5113 GB, free: 2.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.247e-05/0.1277, allocations: 75.28 kB / 0.5114 GB, free: 2.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1277, allocations: 0 / 0.5114 GB, free: 2.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.128, allocations: 11.98 kB / 0.5114 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.0001117/0.1281, allocations: 95.25 kB / 0.5115 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1282, allocations: 75.39 kB / 0.5116 GB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1282, allocations: 4.062 kB / 0.5116 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.1283, allocations: 71.34 kB / 0.5116 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.0002023/0.1285, allocations: 3.938 kB / 0.5117 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.1288, allocations: 104.3 kB / 0.5118 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.1292, allocations: 0.6729 MB / 0.5124 GB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.11e-05/0.1292, allocations: 4 kB / 0.5124 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.1292, allocations: 7.438 kB / 0.5124 GB, free: 1.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1292, allocations: 0 / 0.5124 GB, free: 1.242 MB / 382.1 MB Notification: Performance of Templates: time 0.00274/0.132, allocations: 0.5868 MB / 0.513 GB, free: 0.668 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.692929920041934]