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.001566/0.001566, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002234/0.002234, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.08073/0.08073, allocations: 16.95 MB / 330.2 MB, free: 2.582 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.001996/0.001996, allocations: 59.91 kB / 461.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1163, allocations: 57.75 MB / 0.5068 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001589/0.1179, allocations: 477.3 kB / 0.5073 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.1182, allocations: 137.5 kB / 0.5074 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.1182, allocations: 0 / 0.5074 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.1183, allocations: 0 / 0.5074 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1185, allocations: 31.91 kB / 0.5075 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.69e-05/0.1185, allocations: 0 / 0.5075 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.553e-05/0.1186, allocations: 0 / 0.5075 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.1186, allocations: 0 / 0.5075 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.1186, allocations: 4 kB / 0.5075 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1187, allocations: 7.984 kB / 0.5075 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-06/0.1187, allocations: 0 / 0.5075 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-06/0.1187, allocations: 0 / 0.5075 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-06/0.1187, allocations: 0 / 0.5075 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.1188, allocations: 11.94 kB / 0.5075 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.787e-05/0.1188, allocations: 0 / 0.5075 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1188, allocations: 0 / 0.5075 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1188, allocations: 0 / 0.5075 GB, free: 7.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1188, allocations: 0 / 0.5075 GB, free: 7.473 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.0002675/0.1191, allocations: 242.4 kB / 0.5077 GB, free: 7.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1191, allocations: 8.031 kB / 0.5077 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.1191, allocations: 4.938 kB / 0.5077 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.952e-05/0.1192, allocations: 106.5 kB / 0.5078 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1192, allocations: 384 / 0.5078 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1192, allocations: 4.375 kB / 0.5078 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1193, allocations: 51.95 kB / 0.5079 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.1193, allocations: 192 / 0.5079 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1194, allocations: 3.938 kB / 0.5079 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1194, allocations: 0 / 0.5079 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.1194, allocations: 7.938 kB / 0.5079 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1197, allocations: 434.7 kB / 0.5083 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1198, allocations: 169.1 kB / 0.5085 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.1199, allocations: 84.2 kB / 0.5086 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.1199, allocations: 79.28 kB / 0.5086 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.12, allocations: 113.8 kB / 0.5087 GB, free: 6.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.12, allocations: 0 / 0.5087 GB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.489e-05/0.12, allocations: 25.7 kB / 0.5088 GB, free: 6.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.1201, allocations: 134.6 kB / 0.5089 GB, free: 5.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.1202, allocations: 93.86 kB / 0.509 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1202, allocations: 25.7 kB / 0.509 GB, free: 5.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.1203, allocations: 92.08 kB / 0.5091 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-06/0.1203, allocations: 4.125 kB / 0.5091 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.1203, allocations: 13.72 kB / 0.5091 GB, free: 5.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1204, allocations: 310.8 kB / 0.5094 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.1205, allocations: 4 kB / 0.5094 GB, free: 5.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.1205, allocations: 17.66 kB / 0.5094 GB, free: 5.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.1205, allocations: 13.78 kB / 0.5094 GB, free: 5.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1205, allocations: 7.938 kB / 0.5094 GB, free: 5.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.3e-05/0.1206, allocations: 41.62 kB / 0.5095 GB, free: 5.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1206, allocations: 8 kB / 0.5095 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1206, allocations: 0 / 0.5095 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1206, allocations: 0 / 0.5095 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.1207, allocations: 4 kB / 0.5095 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.1207, allocations: 3.984 kB / 0.5095 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1207, allocations: 7.953 kB / 0.5095 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1207, allocations: 4 kB / 0.5095 GB, free: 5.184 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.0001016/0.1208, allocations: 189.7 kB / 0.5097 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.1209, allocations: 108.9 kB / 0.5098 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.1209, allocations: 108.2 kB / 0.5099 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.143e-05/0.121, allocations: 180.3 kB / 0.5101 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.951e-05/0.1211, allocations: 184.2 kB / 0.5102 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-05/0.1212, allocations: 180.3 kB / 0.5104 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.1215, allocations: 380.2 kB / 0.5108 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/0.1215, allocations: 101 kB / 0.5109 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.1216, allocations: 101 kB / 0.511 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.899e-05/0.1216, allocations: 192.2 kB / 0.5112 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/0.1217, allocations: 180.3 kB / 0.5113 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.793e-05/0.1218, allocations: 184.2 kB / 0.5115 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.375e-05/0.1219, allocations: 176.5 kB / 0.5117 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.1221, allocations: 315.7 kB / 0.512 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.641e-05/0.1222, allocations: 105 kB / 0.5121 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.1223, allocations: 184.2 kB / 0.5123 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.1224, allocations: 101 kB / 0.5123 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.1225, allocations: 188.2 kB / 0.5125 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.1226, allocations: 112.9 kB / 0.5126 GB, free: 1.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.1226, allocations: 75.28 kB / 0.5127 GB, free: 1.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1226, allocations: 0 / 0.5127 GB, free: 1.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1229, allocations: 96 / 0.5127 GB, free: 1.711 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.0001282/0.123, allocations: 174.5 kB / 0.5129 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.255e-05/0.1231, allocations: 7.938 kB / 0.5129 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1231, allocations: 0 / 0.5129 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.1231, allocations: 3.938 kB / 0.5129 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1235, allocations: 469.9 kB / 0.5133 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.1237, allocations: 152.2 kB / 0.5135 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.124, allocations: 0.6729 MB / 0.5141 GB, free: 184 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.124, allocations: 0 / 0.5141 GB, free: 184 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.1241, allocations: 7.438 kB / 0.5141 GB, free: 176 kB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1241, allocations: 0 / 0.5141 GB, free: 176 kB / 382.1 MB Notification: Performance of Templates: time 0.2224/0.3465, allocations: 178.8 kB / 0.5143 GB, free: 15.89 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=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.783133339020424]