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.001579/0.001579, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001837/0.001837, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.488/1.488, allocations: 230.6 MB / 256.8 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.1033/0.1033, allocations: 16.96 MB / 330.2 MB, free: 2.359 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.00212/0.00212, allocations: 67.89 kB / 463.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 57.75 MB / 0.5091 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002027/0.1081, allocations: 0.7149 MB / 0.5098 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001795/0.1083, allocations: 27.91 kB / 0.5098 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.1084, allocations: 0 / 0.5098 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.1084, allocations: 0 / 0.5098 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.1084, allocations: 4 kB / 0.5098 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.1086, allocations: 7.938 kB / 0.5098 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1087, allocations: 19.98 kB / 0.5098 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.1088, allocations: 4 kB / 0.5099 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.1088, allocations: 11.97 kB / 0.5099 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.1089, allocations: 7.938 kB / 0.5099 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1089, allocations: 4 kB / 0.5099 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.1089, allocations: 0 / 0.5099 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.1089, allocations: 0 / 0.5099 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1089, allocations: 8 kB / 0.5099 GB, free: 4.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.65e-05/0.109, allocations: 19.97 kB / 0.5099 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.109, allocations: 0 / 0.5099 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.109, allocations: 0 / 0.5099 GB, free: 4.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.109, allocations: 0 / 0.5099 GB, free: 4.746 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.0003617/0.1094, allocations: 276 kB / 0.5102 GB, free: 4.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1094, allocations: 8.031 kB / 0.5102 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1095, allocations: 4.938 kB / 0.5102 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.1095, allocations: 102.5 kB / 0.5103 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1096, allocations: 384 / 0.5103 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1096, allocations: 4.375 kB / 0.5103 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1097, allocations: 71.89 kB / 0.5103 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1097, allocations: 4.188 kB / 0.5104 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1097, allocations: 7.922 kB / 0.5104 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1097, allocations: 0 / 0.5104 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.1098, allocations: 37.7 kB / 0.5104 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1102, allocations: 192.6 kB / 0.5106 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.1103, allocations: 56.22 kB / 0.5106 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.1103, allocations: 42.61 kB / 0.5107 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.1103, allocations: 7.938 kB / 0.5107 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1104, allocations: 30.56 kB / 0.5107 GB, free: 3.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1104, allocations: 4 kB / 0.5107 GB, free: 3.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000237/0.1106, allocations: 138.8 kB / 0.5108 GB, free: 3.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.1107, allocations: 77.11 kB / 0.5109 GB, free: 3.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.707e-05/0.1107, allocations: 93.84 kB / 0.511 GB, free: 3.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1108, allocations: 25.7 kB / 0.511 GB, free: 3.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.1108, allocations: 84.14 kB / 0.5111 GB, free: 3.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.1108, allocations: 3.953 kB / 0.5111 GB, free: 3.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.1109, allocations: 25.59 kB / 0.5111 GB, free: 3.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.111, allocations: 310.8 kB / 0.5114 GB, free: 2.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.1111, allocations: 37.69 kB / 0.5115 GB, free: 2.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.1111, allocations: 41.83 kB / 0.5115 GB, free: 2.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.86e-05/0.1112, allocations: 76.25 kB / 0.5116 GB, free: 2.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1112, allocations: 0 / 0.5116 GB, free: 2.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001269/0.1113, allocations: 109 kB / 0.5117 GB, free: 2.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.1114, allocations: 36.2 kB / 0.5117 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1114, allocations: 0 / 0.5117 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1114, allocations: 0 / 0.5117 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.415e-05/0.1114, allocations: 0 / 0.5117 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1114, allocations: 3.938 kB / 0.5117 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.1115, allocations: 12.05 kB / 0.5117 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1115, allocations: 3.938 kB / 0.5117 GB, free: 2.586 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.0001056/0.1116, allocations: 144.1 kB / 0.5119 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1116, allocations: 7.938 kB / 0.5119 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.1116, allocations: 3.156 kB / 0.5119 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1116, allocations: 0 / 0.5119 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1116, allocations: 0 / 0.5119 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1116, allocations: 0 / 0.5119 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1118, allocations: 105.3 kB / 0.512 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1118, allocations: 4 kB / 0.512 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-06/0.1118, allocations: 4 kB / 0.512 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1118, allocations: 3.938 kB / 0.512 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1118, allocations: 4 kB / 0.512 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.1118, allocations: 0 / 0.512 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1118, allocations: 0 / 0.512 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.112, allocations: 203 kB / 0.5122 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.112, allocations: 3.984 kB / 0.5122 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.112, allocations: 7.875 kB / 0.5122 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.1121, allocations: 7.984 kB / 0.5122 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1121, allocations: 4 kB / 0.5122 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1121, allocations: 8.031 kB / 0.5122 GB, free: 2.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.218e-05/0.1121, allocations: 75.28 kB / 0.5123 GB, free: 1.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1121, allocations: 0 / 0.5123 GB, free: 1.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1124, allocations: 4 kB / 0.5123 GB, free: 1.934 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.000107/0.1125, allocations: 95.25 kB / 0.5124 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1126, allocations: 134.8 kB / 0.5125 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1126, allocations: 0 / 0.5125 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.1127, allocations: 89.11 kB / 0.5126 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1129, allocations: 8 kB / 0.5126 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.1132, allocations: 142.5 kB / 0.5128 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.508e-05/0.1133, allocations: 59.34 kB / 0.5128 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.418e-06/0.1133, allocations: 0 / 0.5128 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.1133, allocations: 7.438 kB / 0.5128 GB, free: 1.301 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1133, allocations: 0 / 0.5128 GB, free: 1.301 MB / 382.1 MB Notification: Performance of Templates: time 0.002924/0.1162, allocations: 0.6151 MB / 0.5134 GB, free: 0.707 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.916154972976074]