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.001607/0.001607, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001841/0.001841, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1004/0.1004, allocations: 16.93 MB / 330.1 MB, free: 2.391 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.002174/0.002174, allocations: 78.08 kB / 463.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1144, allocations: 57.73 MB / 0.509 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00197/0.1164, allocations: 0.7074 MB / 0.5097 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.1166, allocations: 19.92 kB / 0.5097 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.1166, allocations: 0 / 0.5097 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.1166, allocations: 7.922 kB / 0.5097 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.85e-05/0.1167, allocations: 4 kB / 0.5097 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.1168, allocations: 8 kB / 0.5097 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.1169, allocations: 15.98 kB / 0.5097 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.812e-05/0.117, allocations: 4 kB / 0.5098 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.996e-05/0.117, allocations: 4 kB / 0.5098 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.117, allocations: 15.91 kB / 0.5098 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1171, allocations: 0 / 0.5098 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.1171, allocations: 4 kB / 0.5098 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.1171, allocations: 4 kB / 0.5098 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.1171, allocations: 7.938 kB / 0.5098 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.977e-05/0.1172, allocations: 15.97 kB / 0.5098 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.1172, allocations: 0 / 0.5098 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1172, allocations: 4 kB / 0.5098 GB, free: 4.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1172, allocations: 0 / 0.5098 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.0003128/0.1175, allocations: 268.1 kB / 0.5101 GB, free: 4.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1175, allocations: 16.02 kB / 0.5101 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.1176, allocations: 4.875 kB / 0.5101 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.1177, allocations: 106.5 kB / 0.5102 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1177, allocations: 384 / 0.5102 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1177, allocations: 384 / 0.5102 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1178, allocations: 71.95 kB / 0.5103 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1178, allocations: 4.188 kB / 0.5103 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1178, allocations: 3.938 kB / 0.5103 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1178, allocations: 4 kB / 0.5103 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.038e-05/0.1179, allocations: 37.69 kB / 0.5103 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1183, allocations: 196.6 kB / 0.5105 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.534e-05/0.1184, allocations: 52.28 kB / 0.5105 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.1184, allocations: 42.61 kB / 0.5106 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.1184, allocations: 3.938 kB / 0.5106 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1185, allocations: 34.56 kB / 0.5106 GB, free: 3.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1185, allocations: 0 / 0.5106 GB, free: 3.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002397/0.1187, allocations: 142.7 kB / 0.5108 GB, free: 3.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1188, allocations: 81.11 kB / 0.5108 GB, free: 3.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.167e-05/0.1188, allocations: 89.86 kB / 0.5109 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1188, allocations: 25.7 kB / 0.5109 GB, free: 3.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.1189, allocations: 84.14 kB / 0.511 GB, free: 3.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1189, allocations: 11.94 kB / 0.511 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.1189, allocations: 13.72 kB / 0.511 GB, free: 3.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1191, allocations: 310.8 kB / 0.5113 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.1191, allocations: 33.7 kB / 0.5114 GB, free: 2.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.1192, allocations: 37.69 kB / 0.5114 GB, free: 2.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.06e-05/0.1192, allocations: 84.45 kB / 0.5115 GB, free: 2.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1192, allocations: 0 / 0.5115 GB, free: 2.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001254/0.1194, allocations: 113 kB / 0.5116 GB, free: 2.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.1194, allocations: 29.7 kB / 0.5116 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1194, allocations: 0 / 0.5116 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1194, allocations: 3.984 kB / 0.5116 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-05/0.1195, allocations: 4 kB / 0.5116 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1195, allocations: 0 / 0.5116 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.1195, allocations: 7.953 kB / 0.5116 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1195, allocations: 7.938 kB / 0.5116 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.0001042/0.1196, allocations: 143.5 kB / 0.5118 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1196, allocations: 7.875 kB / 0.5118 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.1197, allocations: 11.12 kB / 0.5118 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1197, allocations: 0 / 0.5118 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1197, allocations: 4 kB / 0.5118 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1197, allocations: 0 / 0.5118 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.1198, allocations: 101.3 kB / 0.5119 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1198, allocations: 4 kB / 0.5119 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-06/0.1198, allocations: 0 / 0.5119 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1198, allocations: 3.938 kB / 0.5119 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1198, allocations: 7.984 kB / 0.5119 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1198, allocations: 0 / 0.5119 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1198, allocations: 4 kB / 0.5119 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.12, allocations: 202.9 kB / 0.5121 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.12, allocations: 4 kB / 0.5121 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.12, allocations: 3.938 kB / 0.5121 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.1201, allocations: 0 / 0.5121 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.1202, allocations: 7.984 kB / 0.5121 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1202, allocations: 0 / 0.5121 GB, free: 2.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.1202, allocations: 75.28 kB / 0.5122 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1202, allocations: 4.031 kB / 0.5122 GB, free: 1.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1204, allocations: 8 kB / 0.5122 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 0.000104/0.1205, allocations: 95.78 kB / 0.5123 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1207, allocations: 138.7 kB / 0.5124 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1207, allocations: 0 / 0.5124 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.527e-05/0.1208, allocations: 93.09 kB / 0.5125 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.121, allocations: 6.5 kB / 0.5125 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.1213, allocations: 152.4 kB / 0.5127 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.246e-05/0.1213, allocations: 67.33 kB / 0.5127 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.1213, allocations: 7.438 kB / 0.5127 GB, free: 1.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1213, allocations: 0 / 0.5127 GB, free: 1.32 MB / 382.1 MB Notification: Performance of Templates: time 0.002146/0.1235, allocations: 0.5355 MB / 0.5133 GB, free: 0.793 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.446392287965864]