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.001289/0.001289, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001432/0.001432, allocations: 216.7 kB / 22.25 MB, free: 5.125 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.969 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.07855/0.07855, allocations: 16.95 MB / 329.4 MB, free: 2.547 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.00197/0.00197, allocations: 79.88 kB / 460.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 57.74 MB / 0.5061 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001563/0.1041, allocations: 477.2 kB / 0.5065 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.1045, allocations: 133.5 kB / 0.5067 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.1045, allocations: 0 / 0.5067 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.1045, allocations: 0 / 0.5067 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.1047, allocations: 30.53 kB / 0.5067 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.1047, allocations: 7.938 kB / 0.5067 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.1048, allocations: 3.938 kB / 0.5067 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.1048, allocations: 0 / 0.5067 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.039e-05/0.1048, allocations: 0 / 0.5067 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1049, allocations: 11.98 kB / 0.5067 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-06/0.1049, allocations: 0 / 0.5067 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-06/0.1049, allocations: 0 / 0.5067 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.1049, allocations: 7.984 kB / 0.5067 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.748e-06/0.105, allocations: 3.938 kB / 0.5067 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.288e-05/0.105, allocations: 4 kB / 0.5067 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.105, allocations: 0 / 0.5067 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.105, allocations: 0 / 0.5067 GB, free: 7.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.105, allocations: 0 / 0.5067 GB, free: 7.445 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.0002472/0.1052, allocations: 238.4 kB / 0.507 GB, free: 7.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1053, allocations: 8.031 kB / 0.507 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.1053, allocations: 0.9375 kB / 0.507 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.1054, allocations: 110.5 kB / 0.5071 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1054, allocations: 4.375 kB / 0.5071 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1054, allocations: 384 / 0.5071 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.1055, allocations: 47.92 kB / 0.5071 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1055, allocations: 4.172 kB / 0.5071 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1055, allocations: 3.938 kB / 0.5071 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1055, allocations: 0 / 0.5071 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.1055, allocations: 4 kB / 0.5071 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.1059, allocations: 434.8 kB / 0.5075 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.1061, allocations: 173 kB / 0.5077 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.1061, allocations: 80.14 kB / 0.5078 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.1062, allocations: 79.28 kB / 0.5079 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.1062, allocations: 117.9 kB / 0.508 GB, free: 6.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1062, allocations: 0 / 0.508 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.865e-05/0.1063, allocations: 33.58 kB / 0.508 GB, free: 5.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.1063, allocations: 130.7 kB / 0.5081 GB, free: 5.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.948e-05/0.1064, allocations: 93.86 kB / 0.5082 GB, free: 5.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1064, allocations: 25.7 kB / 0.5082 GB, free: 5.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.1065, allocations: 92.22 kB / 0.5083 GB, free: 5.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.1065, allocations: 0 / 0.5083 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1065, allocations: 13.72 kB / 0.5083 GB, free: 5.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1067, allocations: 310.8 kB / 0.5086 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.1067, allocations: 3.984 kB / 0.5086 GB, free: 5.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.1067, allocations: 17.72 kB / 0.5087 GB, free: 5.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.1067, allocations: 17.78 kB / 0.5087 GB, free: 5.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1067, allocations: 3.938 kB / 0.5087 GB, free: 5.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.593e-05/0.1068, allocations: 41.58 kB / 0.5087 GB, free: 5.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1068, allocations: 4 kB / 0.5087 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1068, allocations: 4 kB / 0.5087 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1069, allocations: 0 / 0.5087 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/0.1069, allocations: 7.984 kB / 0.5087 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1069, allocations: 0 / 0.5087 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.1069, allocations: 7.953 kB / 0.5087 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1069, allocations: 4.062 kB / 0.5088 GB, free: 5.16 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.0001094/0.107, allocations: 193.5 kB / 0.5089 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.1071, allocations: 101 kB / 0.509 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.1072, allocations: 108.2 kB / 0.5091 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-05/0.1072, allocations: 188.2 kB / 0.5093 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.013e-05/0.1073, allocations: 180.3 kB / 0.5095 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.63e-05/0.1074, allocations: 184.2 kB / 0.5097 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1076, allocations: 372.2 kB / 0.51 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/0.1077, allocations: 105 kB / 0.5101 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.1077, allocations: 104.9 kB / 0.5102 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.772e-05/0.1078, allocations: 180.3 kB / 0.5104 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-05/0.1079, allocations: 188.2 kB / 0.5106 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-05/0.108, allocations: 176.3 kB / 0.5107 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.2e-05/0.1081, allocations: 180.5 kB / 0.5109 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1082, allocations: 311.7 kB / 0.5112 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.1083, allocations: 108.9 kB / 0.5113 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.1084, allocations: 184.2 kB / 0.5115 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.1084, allocations: 104.9 kB / 0.5116 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.1085, allocations: 188.2 kB / 0.5118 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.1086, allocations: 101 kB / 0.5119 GB, free: 1.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.031e-05/0.1086, allocations: 79.28 kB / 0.5119 GB, free: 1.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1086, allocations: 96 / 0.5119 GB, free: 1.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.1088, allocations: 4 kB / 0.5119 GB, free: 1.691 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.0001215/0.109, allocations: 166.5 kB / 0.5121 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.341e-05/0.109, allocations: 11.92 kB / 0.5121 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.109, allocations: 0 / 0.5121 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.109, allocations: 0 / 0.5121 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.1095, allocations: 470.6 kB / 0.5126 GB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.1097, allocations: 148.2 kB / 0.5127 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1101, allocations: 0.669 MB / 0.5134 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.1101, allocations: 7.922 kB / 0.5134 GB, free: 172 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.1102, allocations: 11.44 kB / 0.5134 GB, free: 160 kB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1102, allocations: 0 / 0.5134 GB, free: 160 kB / 382.1 MB Notification: Performance of Templates: time 0.1743/0.2845, allocations: 178.4 kB / 0.5135 GB, free: 15.88 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.255351900996175]