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.001687/0.001687, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002059/0.002059, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.08318/0.08318, allocations: 16.92 MB / 330.1 MB, free: 2.496 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.002126/0.002126, allocations: 72.08 kB / 461.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1094, allocations: 57.73 MB / 0.5067 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001841/0.1112, allocations: 493.1 kB / 0.5071 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003718/0.1116, allocations: 117.6 kB / 0.5073 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.1116, allocations: 4 kB / 0.5073 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.1116, allocations: 0 / 0.5073 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1119, allocations: 19.92 kB / 0.5073 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.571e-06/0.1119, allocations: 0 / 0.5073 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.112, allocations: 7.938 kB / 0.5073 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.36e-05/0.112, allocations: 3.938 kB / 0.5073 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.599e-05/0.1121, allocations: 4 kB / 0.5073 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1122, allocations: 15.97 kB / 0.5073 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-06/0.1122, allocations: 3.938 kB / 0.5073 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.956e-06/0.1122, allocations: 0 / 0.5073 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-06/0.1122, allocations: 0 / 0.5073 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.2e-05/0.1122, allocations: 4 kB / 0.5073 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.954e-05/0.1122, allocations: 0 / 0.5073 GB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1122, allocations: 0 / 0.5073 GB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1122, allocations: 0 / 0.5073 GB, free: 7.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1122, allocations: 0 / 0.5073 GB, free: 7.375 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.0002791/0.1125, allocations: 234.4 kB / 0.5075 GB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1126, allocations: 12.02 kB / 0.5075 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.1126, allocations: 8.938 kB / 0.5076 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.893e-05/0.1127, allocations: 106.5 kB / 0.5077 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1127, allocations: 384 / 0.5077 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1127, allocations: 384 / 0.5077 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1128, allocations: 43.92 kB / 0.5077 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1128, allocations: 192 / 0.5077 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1128, allocations: 7.938 kB / 0.5077 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1128, allocations: 0 / 0.5077 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.1129, allocations: 0 / 0.5077 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.1132, allocations: 423.3 kB / 0.5081 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1133, allocations: 169.1 kB / 0.5083 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.1133, allocations: 84.08 kB / 0.5084 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.1134, allocations: 83.22 kB / 0.5084 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/0.1134, allocations: 105.8 kB / 0.5085 GB, free: 5.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1134, allocations: 0 / 0.5085 GB, free: 5.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.375e-05/0.1135, allocations: 29.64 kB / 0.5086 GB, free: 5.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.1136, allocations: 134.7 kB / 0.5087 GB, free: 5.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.1137, allocations: 93.86 kB / 0.5088 GB, free: 5.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1137, allocations: 25.7 kB / 0.5088 GB, free: 5.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.1137, allocations: 88.09 kB / 0.5089 GB, free: 5.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.1137, allocations: 4.125 kB / 0.5089 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.1138, allocations: 13.72 kB / 0.5089 GB, free: 5.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1139, allocations: 314.8 kB / 0.5092 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.1139, allocations: 3.984 kB / 0.5092 GB, free: 5.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.1139, allocations: 13.72 kB / 0.5092 GB, free: 5.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.114, allocations: 21.66 kB / 0.5092 GB, free: 5.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.114, allocations: 0 / 0.5092 GB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/0.1141, allocations: 41.72 kB / 0.5093 GB, free: 5.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1141, allocations: 8 kB / 0.5093 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1141, allocations: 3.938 kB / 0.5093 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1141, allocations: 4 kB / 0.5093 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.1142, allocations: 3.984 kB / 0.5093 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1142, allocations: 7.938 kB / 0.5093 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.1142, allocations: 4 kB / 0.5093 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.1142, allocations: 0 / 0.5093 GB, free: 5.125 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.0001108/0.1143, allocations: 193.1 kB / 0.5095 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.1144, allocations: 104.9 kB / 0.5096 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.1144, allocations: 116.1 kB / 0.5097 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-05/0.1145, allocations: 188.2 kB / 0.5099 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.419e-05/0.1146, allocations: 176.3 kB / 0.5101 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-05/0.1147, allocations: 180.2 kB / 0.5102 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.115, allocations: 352.9 kB / 0.5106 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.252e-05/0.115, allocations: 108.9 kB / 0.5107 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.1151, allocations: 108.9 kB / 0.5108 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.669e-05/0.1151, allocations: 176.3 kB / 0.5109 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.1153, allocations: 180.2 kB / 0.5111 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001195/0.1154, allocations: 184.3 kB / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-05/0.1155, allocations: 180.4 kB / 0.5115 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.1156, allocations: 311.8 kB / 0.5118 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.1157, allocations: 116.9 kB / 0.5119 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.1158, allocations: 180.2 kB / 0.512 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.1159, allocations: 104.9 kB / 0.5121 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.116, allocations: 184.3 kB / 0.5123 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.1161, allocations: 101 kB / 0.5124 GB, free: 1.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.367e-05/0.1161, allocations: 79.28 kB / 0.5125 GB, free: 1.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1161, allocations: 0 / 0.5125 GB, free: 1.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1164, allocations: 3.938 kB / 0.5125 GB, free: 1.68 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.0001226/0.1165, allocations: 175.2 kB / 0.5127 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.564e-05/0.1166, allocations: 7.984 kB / 0.5127 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1166, allocations: 0 / 0.5127 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.1166, allocations: 0 / 0.5127 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.117, allocations: 455.7 kB / 0.5131 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.1172, allocations: 181.9 kB / 0.5133 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.842e-05/0.1173, allocations: 59.22 kB / 0.5133 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.1173, allocations: 7.438 kB / 0.5133 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1173, allocations: 0 / 0.5133 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of Templates: time 0.001725/0.119, allocations: 351.9 kB / 0.5137 GB, free: 408 kB / 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: 7.425241905264556]