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.001398/0.001398, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001653/0.001653, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.08017/0.08017, allocations: 16.94 MB / 326.5 MB, free: 8.617 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.002022/0.002022, allocations: 69.97 kB / 456 MB, free: 35.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1089, allocations: 57.72 MB / 0.5017 GB, free: 9.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001592/0.1105, allocations: 479.2 kB / 0.5021 GB, free: 8.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003327/0.1108, allocations: 122.2 kB / 0.5022 GB, free: 8.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.1108, allocations: 0 / 0.5022 GB, free: 8.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.1108, allocations: 0 / 0.5022 GB, free: 8.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.1111, allocations: 27.92 kB / 0.5023 GB, free: 8.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.966e-06/0.1111, allocations: 0 / 0.5023 GB, free: 8.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.651e-05/0.1112, allocations: 3.984 kB / 0.5023 GB, free: 8.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.1112, allocations: 4 kB / 0.5023 GB, free: 8.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.105e-05/0.1112, allocations: 0 / 0.5023 GB, free: 8.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1114, allocations: 7.938 kB / 0.5023 GB, free: 8.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-06/0.1114, allocations: 8 kB / 0.5023 GB, free: 8.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-06/0.1114, allocations: 0 / 0.5023 GB, free: 8.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-06/0.1114, allocations: 0 / 0.5023 GB, free: 8.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.1114, allocations: 3.984 kB / 0.5023 GB, free: 8.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 4.532e-05/0.1114, allocations: 3.984 kB / 0.5023 GB, free: 8.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1114, allocations: 0 / 0.5023 GB, free: 8.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1114, allocations: 0 / 0.5023 GB, free: 8.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1114, allocations: 0 / 0.5023 GB, free: 8.594 MB / 366.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.0003247/0.1118, allocations: 315.9 kB / 0.5026 GB, free: 8.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1118, allocations: 8.031 kB / 0.5026 GB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1118, allocations: 8.938 kB / 0.5026 GB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.112, allocations: 164.3 kB / 0.5028 GB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.112, allocations: 8.297 kB / 0.5028 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.112, allocations: 384 / 0.5028 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.1121, allocations: 39.98 kB / 0.5028 GB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1121, allocations: 192 / 0.5028 GB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1121, allocations: 7.938 kB / 0.5028 GB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1121, allocations: 0 / 0.5028 GB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.1121, allocations: 11.94 kB / 0.5028 GB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1125, allocations: 463.6 kB / 0.5033 GB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.1126, allocations: 173.1 kB / 0.5034 GB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.1127, allocations: 80.14 kB / 0.5035 GB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.1127, allocations: 79.28 kB / 0.5036 GB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.1128, allocations: 117.8 kB / 0.5037 GB, free: 6.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1128, allocations: 0 / 0.5037 GB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.997e-05/0.1129, allocations: 25.7 kB / 0.5037 GB, free: 6.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.1129, allocations: 126.7 kB / 0.5039 GB, free: 6.801 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1131, allocations: 97.84 kB / 0.5039 GB, free: 6.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1131, allocations: 29.83 kB / 0.504 GB, free: 6.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.1131, allocations: 88.09 kB / 0.5041 GB, free: 6.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.1131, allocations: 0 / 0.5041 GB, free: 6.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1132, allocations: 13.72 kB / 0.5041 GB, free: 6.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1133, allocations: 310.8 kB / 0.5044 GB, free: 6.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/0.1133, allocations: 0 / 0.5044 GB, free: 6.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.1133, allocations: 21.64 kB / 0.5044 GB, free: 6.211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.1134, allocations: 25.78 kB / 0.5044 GB, free: 6.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1134, allocations: 3.938 kB / 0.5044 GB, free: 6.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.998e-05/0.1135, allocations: 37.64 kB / 0.5045 GB, free: 6.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1135, allocations: 4 kB / 0.5045 GB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1135, allocations: 4 kB / 0.5045 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1135, allocations: 0 / 0.5045 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.5e-05/0.1136, allocations: 7.984 kB / 0.5045 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1136, allocations: 64 / 0.5045 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.1136, allocations: 7.953 kB / 0.5045 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.1136, allocations: 0 / 0.5045 GB, free: 6.109 MB / 366.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.0001211/0.1137, allocations: 193.1 kB / 0.5047 GB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.1138, allocations: 104.9 kB / 0.5048 GB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.1138, allocations: 104.1 kB / 0.5049 GB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-05/0.1139, allocations: 176.3 kB / 0.505 GB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.19e-05/0.114, allocations: 192.2 kB / 0.5052 GB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.651e-05/0.1141, allocations: 180.3 kB / 0.5054 GB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.1144, allocations: 401.1 kB / 0.5058 GB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.926e-05/0.1144, allocations: 109 kB / 0.5059 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.1145, allocations: 101 kB / 0.506 GB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.68e-05/0.1145, allocations: 188.1 kB / 0.5061 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.1146, allocations: 184.2 kB / 0.5063 GB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-05/0.1147, allocations: 184.2 kB / 0.5065 GB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.745e-05/0.1148, allocations: 184.2 kB / 0.5067 GB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.115, allocations: 315.7 kB / 0.507 GB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.1151, allocations: 178.1 kB / 0.5071 GB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.1153, allocations: 184.5 kB / 0.5073 GB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.1154, allocations: 105 kB / 0.5074 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.1154, allocations: 176.3 kB / 0.5076 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.1155, allocations: 109 kB / 0.5077 GB, free: 2.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.1155, allocations: 87.28 kB / 0.5078 GB, free: 2.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1155, allocations: 0 / 0.5078 GB, free: 2.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1158, allocations: 0 / 0.5078 GB, free: 2.504 MB / 366.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.0001297/0.1159, allocations: 166.5 kB / 0.5079 GB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.141e-05/0.116, allocations: 7.984 kB / 0.5079 GB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.116, allocations: 0 / 0.5079 GB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.116, allocations: 3.938 kB / 0.5079 GB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.1164, allocations: 459.8 kB / 0.5084 GB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.1166, allocations: 156.2 kB / 0.5085 GB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1169, allocations: 0.669 MB / 0.5092 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.703e-05/0.1169, allocations: 3.984 kB / 0.5092 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1169, allocations: 7.438 kB / 0.5092 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1169, allocations: 0 / 0.5092 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of Templates: time 0.002058/0.119, allocations: 177.2 kB / 0.5094 GB, free: 0.8047 MB / 366.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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] 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: 4.759674079017714]