Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.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.001569/0.001569, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001494/0.001494, allocations: 214.6 kB / 23.01 MB, free: 4.566 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.07939/0.07939, allocations: 16.95 MB / 330.1 MB, free: 2.598 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.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [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.002016/0.002016, allocations: 71.91 kB / 461.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1112, allocations: 57.75 MB / 0.5068 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001725/0.1129, allocations: 491.5 kB / 0.5073 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004066/0.1133, allocations: 133.5 kB / 0.5074 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.1133, allocations: 0 / 0.5074 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.1133, allocations: 0 / 0.5074 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.1136, allocations: 23.94 kB / 0.5074 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.1136, allocations: 3.938 kB / 0.5074 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.578e-05/0.1136, allocations: 3.984 kB / 0.5074 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.1137, allocations: 7.984 kB / 0.5074 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.214e-05/0.1137, allocations: 0 / 0.5074 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1138, allocations: 15.94 kB / 0.5075 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-06/0.1138, allocations: 0 / 0.5075 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-06/0.1139, allocations: 0 / 0.5075 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.1139, allocations: 0 / 0.5075 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.1139, allocations: 11.92 kB / 0.5075 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.479e-05/0.1139, allocations: 0 / 0.5075 GB, free: 7.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1139, allocations: 0 / 0.5075 GB, free: 7.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1139, allocations: 0 / 0.5075 GB, free: 7.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1139, allocations: 0 / 0.5075 GB, free: 7.465 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003049/0.1142, allocations: 238.4 kB / 0.5077 GB, free: 7.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1143, allocations: 12.03 kB / 0.5077 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.1143, allocations: 0.9375 kB / 0.5077 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1144, allocations: 102.5 kB / 0.5078 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1144, allocations: 384 / 0.5078 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1144, allocations: 12.38 kB / 0.5078 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1146, allocations: 35.98 kB / 0.5079 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1146, allocations: 4.188 kB / 0.5079 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1146, allocations: 7.875 kB / 0.5079 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1146, allocations: 0 / 0.5079 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.1146, allocations: 3.984 kB / 0.5079 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.115, allocations: 438.8 kB / 0.5083 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1151, allocations: 173 kB / 0.5085 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.1152, allocations: 80.14 kB / 0.5085 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.1152, allocations: 79.27 kB / 0.5086 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/0.1153, allocations: 109.8 kB / 0.5087 GB, free: 6.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1153, allocations: 0 / 0.5087 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.036e-05/0.1153, allocations: 29.7 kB / 0.5087 GB, free: 6.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.1154, allocations: 126.7 kB / 0.5089 GB, free: 5.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.1155, allocations: 101.7 kB / 0.509 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1155, allocations: 29.7 kB / 0.509 GB, free: 5.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.1156, allocations: 84.09 kB / 0.5091 GB, free: 5.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-06/0.1156, allocations: 4.125 kB / 0.5091 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.1156, allocations: 17.7 kB / 0.5091 GB, free: 5.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1157, allocations: 314.8 kB / 0.5094 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.1158, allocations: 0 / 0.5094 GB, free: 5.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.1158, allocations: 13.72 kB / 0.5094 GB, free: 5.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.1158, allocations: 13.78 kB / 0.5094 GB, free: 5.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1158, allocations: 7.938 kB / 0.5094 GB, free: 5.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001126/0.1159, allocations: 49.56 kB / 0.5095 GB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1159, allocations: 4 kB / 0.5095 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1159, allocations: 0 / 0.5095 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.116, allocations: 0 / 0.5095 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.116, allocations: 8 kB / 0.5095 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.116, allocations: 0 / 0.5095 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.116, allocations: 7.953 kB / 0.5095 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.116, allocations: 0 / 0.5095 GB, free: 5.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001123/0.1162, allocations: 189.7 kB / 0.5097 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.1162, allocations: 112.9 kB / 0.5098 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.1163, allocations: 112.2 kB / 0.5099 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.318e-05/0.1164, allocations: 180.2 kB / 0.5101 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.832e-05/0.1165, allocations: 176.3 kB / 0.5102 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.092e-05/0.1165, allocations: 184.3 kB / 0.5104 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.1168, allocations: 384.2 kB / 0.5108 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.626e-05/0.1169, allocations: 101 kB / 0.5109 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.1169, allocations: 108.9 kB / 0.511 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.141e-05/0.117, allocations: 176.3 kB / 0.5111 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/0.1171, allocations: 180.2 kB / 0.5113 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.298e-05/0.1172, allocations: 184.2 kB / 0.5115 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.778e-05/0.1173, allocations: 184.5 kB / 0.5117 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1175, allocations: 307.7 kB / 0.512 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.1175, allocations: 108.9 kB / 0.5121 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1176, allocations: 184.3 kB / 0.5122 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.1177, allocations: 105 kB / 0.5123 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.1178, allocations: 184.2 kB / 0.5125 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.1179, allocations: 104.9 kB / 0.5126 GB, free: 1.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.1179, allocations: 79.27 kB / 0.5127 GB, free: 1.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1179, allocations: 4 kB / 0.5127 GB, free: 1.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1181, allocations: 4.094 kB / 0.5127 GB, free: 1.707 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.000142/0.1183, allocations: 166.5 kB / 0.5128 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1184, allocations: 11.94 kB / 0.5129 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1184, allocations: 0 / 0.5129 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1184, allocations: 0 / 0.5129 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1188, allocations: 459.8 kB / 0.5133 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.1191, allocations: 185.9 kB / 0.5135 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1194, allocations: 0.669 MB / 0.5141 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.1195, allocations: 7.438 kB / 0.5141 GB, free: 152 kB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1195, allocations: 0 / 0.5141 GB, free: 152 kB / 382.1 MB Notification: Performance of Templates: time 0.2242/0.3436, allocations: 342.3 kB / 0.5145 GB, free: 15.92 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.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: 6.7767106799874455]