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.001339/0.001339, 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.001496/0.001496, allocations: 213.7 kB / 22.25 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.789 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.08173/0.08173, allocations: 16.93 MB / 329.4 MB, free: 2.406 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.002187/0.002187, allocations: 71.89 kB / 462.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1218, allocations: 57.74 MB / 0.5083 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00212/0.1239, allocations: 0.6958 MB / 0.509 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.1241, allocations: 23.91 kB / 0.509 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.1241, allocations: 0 / 0.509 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.1241, allocations: 7.938 kB / 0.509 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.1242, allocations: 4 kB / 0.509 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.1243, allocations: 7.984 kB / 0.509 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.818e-05/0.1244, allocations: 16 kB / 0.509 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.256e-05/0.1245, allocations: 0 / 0.509 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.1245, allocations: 11.98 kB / 0.509 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.1246, allocations: 7.922 kB / 0.509 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1246, allocations: 7.938 kB / 0.509 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.1246, allocations: 0 / 0.509 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.1246, allocations: 4 kB / 0.509 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.1246, allocations: 7.984 kB / 0.5091 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.004e-05/0.1247, allocations: 15.98 kB / 0.5091 GB, free: 4.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1247, allocations: 0 / 0.5091 GB, free: 4.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1247, allocations: 0 / 0.5091 GB, free: 4.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1247, allocations: 3.938 kB / 0.5091 GB, free: 4.824 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.0003289/0.125, allocations: 272.1 kB / 0.5093 GB, free: 4.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1251, allocations: 8.031 kB / 0.5093 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1251, allocations: 12.88 kB / 0.5093 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1252, allocations: 102.5 kB / 0.5094 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1252, allocations: 384 / 0.5094 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1252, allocations: 4.375 kB / 0.5095 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1254, allocations: 75.94 kB / 0.5095 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1254, allocations: 192 / 0.5095 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1254, allocations: 7.938 kB / 0.5095 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1254, allocations: 0 / 0.5095 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.1254, allocations: 37.7 kB / 0.5096 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.1259, allocations: 196.6 kB / 0.5098 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.126, allocations: 52.27 kB / 0.5098 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.1261, allocations: 46.61 kB / 0.5098 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.1261, allocations: 3.938 kB / 0.5099 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1261, allocations: 34.56 kB / 0.5099 GB, free: 3.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1261, allocations: 0 / 0.5099 GB, free: 3.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003049/0.1264, allocations: 142.7 kB / 0.51 GB, free: 3.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.1265, allocations: 81.09 kB / 0.5101 GB, free: 3.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.1265, allocations: 89.86 kB / 0.5102 GB, free: 3.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1266, allocations: 29.7 kB / 0.5102 GB, free: 3.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.1266, allocations: 80.14 kB / 0.5103 GB, free: 3.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1266, allocations: 7.953 kB / 0.5103 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.1267, allocations: 13.72 kB / 0.5103 GB, free: 3.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1268, allocations: 310.8 kB / 0.5106 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.1269, allocations: 45.81 kB / 0.5107 GB, free: 2.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.1269, allocations: 33.7 kB / 0.5107 GB, free: 2.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.172e-05/0.127, allocations: 76.25 kB / 0.5108 GB, free: 2.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.127, allocations: 0 / 0.5108 GB, free: 2.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001569/0.1272, allocations: 113 kB / 0.5109 GB, free: 2.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.1272, allocations: 33.7 kB / 0.5109 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1272, allocations: 0 / 0.5109 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1272, allocations: 0 / 0.5109 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.1272, allocations: 3.938 kB / 0.5109 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1272, allocations: 4.094 kB / 0.5109 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1273, allocations: 7.953 kB / 0.5109 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1273, allocations: 0 / 0.5109 GB, free: 2.664 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.0001468/0.1274, allocations: 147.5 kB / 0.5111 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1275, allocations: 11.88 kB / 0.5111 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.1275, allocations: 3.156 kB / 0.5111 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1275, allocations: 0 / 0.5111 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1275, allocations: 0 / 0.5111 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1275, allocations: 0 / 0.5111 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1276, allocations: 101.3 kB / 0.5112 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1276, allocations: 0 / 0.5112 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.1276, allocations: 4 kB / 0.5112 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.1276, allocations: 7.938 kB / 0.5112 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1276, allocations: 0 / 0.5112 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1277, allocations: 4 kB / 0.5112 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1277, allocations: 3.984 kB / 0.5112 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.1278, allocations: 206.9 kB / 0.5114 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.1279, allocations: 0 / 0.5114 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1279, allocations: 7.922 kB / 0.5114 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.1279, allocations: 4 kB / 0.5114 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.128, allocations: 4 kB / 0.5114 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.128, allocations: 8.031 kB / 0.5114 GB, free: 2.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.128, allocations: 75.28 kB / 0.5115 GB, free: 2.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.128, allocations: 0 / 0.5115 GB, free: 2.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1283, allocations: 4 kB / 0.5115 GB, free: 2.008 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.0001013/0.1284, allocations: 99.77 kB / 0.5116 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1286, allocations: 134.7 kB / 0.5117 GB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1286, allocations: 0 / 0.5117 GB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.1286, allocations: 101.1 kB / 0.5118 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.1289, allocations: 4.688 kB / 0.5118 GB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.1291, allocations: 126.7 kB / 0.5119 GB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.147e-05/0.1292, allocations: 59.22 kB / 0.512 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.628e-06/0.1292, allocations: 0 / 0.512 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.1292, allocations: 7.438 kB / 0.512 GB, free: 1.379 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1292, allocations: 4 kB / 0.512 GB, free: 1.375 MB / 382.1 MB Notification: Performance of Templates: time 0.002885/0.1321, allocations: 0.5953 MB / 0.5126 GB, free: 0.8008 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.815221315249801]